I have running openhabian on RPi. I setup logrotate profiles and recently I’m having a lot of “junk” in the begining of a log file, either events.log or openhab.log. Any one else having this issue? What can I do?
I think Ive seen that when a major error occurred. We had another thread about it awhile back I think it was the same pattern. The log did not capture anything useful and it has only happen once or twice
It was probably a major error once when I played with my OH setup. But it’s anoying. Every new file created with log-rotation has the same junk in the begging, although between the last line in the previous log and the first line in new file are no error recorded.
It seems to be somehow connected to logrotate. Logs doesn’t show anything special, last entry on old and first entry in new log is a normal event, no error.
I stopped OH2, deleted the “junk” raw, restarted. Next rotation, the junk is back.
Does the default log make daily rotations? ops4j pax config has append set to true. Default OH settings…