Hi all,
is it possible to separate the logfile? I want to put all normal log messages in a logfile like “openhab.log” and all error messages in a file like “openhab.err”.
Thanks for the help!
Hi all,
is it possible to separate the logfile? I want to put all normal log messages in a logfile like “openhab.log” and all error messages in a file like “openhab.err”.
Thanks for the help!
Take a look at the logback.xml file. It’s coordinating what gets logged, at what level, and to what targets.
There are examples in there for files etc. I log both to file, as well as a local syslog server on my network.
Agree w @guessed on this. I also have several separate logs for different regions of my house (“KITCHEN”, “STAIRWELL”, etc) to separate logstreams.