V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
JasonLaw
V2EX  ›  程序员

Logstash Logback Encoder - 为什么 caller info is costly to calculate 呢?

  •  
  •   JasonLaw · 2021-06-09 14:00:26 +08:00 · 661 次点击
    这是一个创建于 1045 天前的主题,其中的信息可能已经有所发展或是发生改变。

    最近使用了logstash/logstash-logback-encoder: Logback JSON encoder and appenders,在Caller Info Fields中,有下面这么一段话。

    The encoder/layout/appender do not contain caller info by default. This can be costly to calculate and should be switched off for busy production environments.

    为什么说“caller info is costly to calculate”呢?

    目前尚无回复
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   2588 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 25ms · UTC 04:18 · PVG 12:18 · LAX 21:18 · JFK 00:18
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.