Skip to content
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

Add log level to log lines #1516

Open
dneray opened this issue Nov 28, 2019 · 0 comments
Open

Add log level to log lines #1516

dneray opened this issue Nov 28, 2019 · 0 comments

Comments

@dneray
Copy link

dneray commented Nov 28, 2019

We are trying to parse and forward mosquitto logs into a searchable database. It would be very useful if we could include the log level as part of the message.

It might be useful to generalize this in the configuration to being able to customize the log messages i.e.
log_format %l %t %m

where %l is the level, %t is the timestamp and %m is the log message.

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

No branches or pull requests

1 participant