noobaa-core
noobaa-core copied to clipboard
NC | Noobaa debug and normal log sent to two different files.
Explain the changes
- Current implementation all the logs are pushed to both
iamjournal
andsyslog
- syslog facility local0 - rsyslog omfile copies it to /var/log/noobaa.log
- stdout/stderr - systemd copies it into its journal and then rsyslog imjournal copies it to the file /var/log/messages
- all the low level logs(ERROR, INFO, LOG, TRACE, L0) are pushed to var/log/message. Can be configured using property
LOG_TO_STDERR_LEVEL
), - When debug enabled(LOG_TO_SYSLOG_ENABLED) all the messages will pushed to var/log/noobaa.log, Log level can be configued in using property LOG_TO_DEBUGLOG_LEVEL
Issues: Fixed #xxx / Gap #xxx
- https://github.com/noobaa/noobaa-core/issues/8032
Testing Instructions:
- [] Doc added/updated
- [ ] Tests added