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

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

  •  
  •   JasonLaw · Jun 9, 2021 · 1384 views
    This topic created in 1974 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   ·   5195 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 26ms · UTC 06:33 · PVG 14:33 · LAX 22:33 · JFK 01:33
    ♥ Do have faith in what you're doing.