Skip to content

Embed log level info in every log line #317

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

kcudnik
Copy link
Contributor

@kcudnik kcudnik commented Dec 1, 2019

Some syslog configurations may not put log level in log file

Some syslog configurations may not put log level in log file
@qiluo-msft
Copy link
Contributor

What is the motivation? For your case, how about fixing syslog configurations?

@kcudnik
Copy link
Contributor Author

kcudnik commented Dec 4, 2019

on systems with "sysklogd" instead of syslog/rsyslog, format template of log lines can't be changed therefore log priority is not included in syslog lines, that's why i propose here to add error level here

@qiluo-msft
Copy link
Contributor

I feel it is annoying for normal user just using default rsyslogd. I am ok if you change it only on a system with sksklogd, but don't change behavior for others.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants