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

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

  •  
  •   JasonLaw · Jun 9, 2021 · 1402 views
    This topic created in 1979 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”呢?

    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   2248 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 28ms · UTC 00:18 · PVG 08:18 · LAX 16:18 · JFK 19:18
    ♥ Do have faith in what you're doing.