-
Is your feature request related to a problem? Please describe. Describe the solution you'd like |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments
-
I think the default time format of the JSON logs should stay a Unix time stamp because
|
Beta Was this translation helpful? Give feedback.
-
Since there is no helm chart available and its no configuration section in the readme it is not easy to discover these flags. Can you change the loglevel as well here? yes we do have some default logging pipeline setup. We have some parsing rules with fluent bit, but we prefer human readable timestamps. We can usually configure it and have not had any apps force epoch before. Another point is when looking directly at the logs in the pod as well make it hard to parse the timestamp. to see what logs is relevant. |
Beta Was this translation helpful? Give feedback.
-
The command line flags of the zap logger can be found here. For example, to only output error logs, configure the messaging-topology-operator deployment YAML as follows: spec:
containers:
- args:
- --zap-log-level=error
command:
- /manager I agree, we should document these flags.
You can use |
Beta Was this translation helpful? Give feedback.
-
Thanks for the tips. we'll see if we can work around this |
Beta Was this translation helpful? Give feedback.
-
I will convert this issue to a GitHub discussion. Currently GitHub will automatically close and lock the issue even though your question will be transferred and responded to elsewhere. This is to let you know that we do not intend to ignore this but this is how the current GitHub conversion mechanism makes it seem for the users :( |
Beta Was this translation helpful? Give feedback.
The command line flags of the zap logger can be found here.
For example, to only output error logs, configure the messaging-topology-operator deployment YAML as follows:
I agree, we should document these flags.
You can use
kubectl logs --timestamps
. This flag will include human readable timestamps on each line in the log output (They might deviate by a few microseconds from the timestamp output by the…