• 请不要在回答技术问题时复制粘贴 AI 生成的内容
JasonLaw
V2EX  ›  程序员

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

  •  
  •   JasonLaw · Jun 9, 2021 · 1066 views
    This topic created in 1802 days ago, the information mentioned may be changed or developed.

    最近使用了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”呢?

    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2866 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 36ms · UTC 12:28 · PVG 20:28 · LAX 05:28 · JFK 08:28
    ♥ Do have faith in what you're doing.