opentelemetry-collector icon indicating copy to clipboard operation
opentelemetry-collector copied to clipboard

How do OTEL frame logs scroll down?

Open li-zeyuan opened this issue 2 years ago • 2 comments

I wanted the zap_pkg log to implement a scrolling deletion configuration, but found that no similar configuration was provided. Like:github.com/natefinch/lumberjack Thank you.

telemetry.log config

service:
  telemetry:
    logs:
      level: info
      output_paths: [  ]
      error_output_paths: [ ]
      initial_fields:
        service: demo

li-zeyuan avatar Aug 10 '22 03:08 li-zeyuan

Does zap provide that configuration, we provide exactly what zap provides.

bogdandrutu avatar Aug 26 '22 17:08 bogdandrutu

Zap can cooperate github.com/natefinch/lumberjack log archive. Or whether the OTEL framework provides interfaces instead of zap. Logger objects

li-zeyuan avatar Aug 27 '22 03:08 li-zeyuan

What do you expect us to do/offer here?

bogdandrutu avatar Oct 25 '22 17:10 bogdandrutu

What do you expect us to do/offer here?

Log splitting and compression.

li-zeyuan avatar Oct 26 '22 02:10 li-zeyuan

I need the logs to be split ,and get the out dated logs deleted too, but I can't configure it!

MajaChen avatar Jan 13 '23 07:01 MajaChen

I need the logs to be split ,and get the out dated logs deleted too, but I can't configure it!

I would expect this to be the role of the local log collector/aggregator, like journald or rsyslog.

jpkrohling avatar Jan 23 '23 12:01 jpkrohling