Hello,
Yes, all these exist.
You need to set:
SYSLOG_FILE=y
and then you may attach a file to the logger using:
syslog_file_channel()
If you want to also keep the UART logger active, then also set:
SYSLOG_MAX_CHANNELS=2
SYSLOG_DEFAULT=y
To have automatic rotations of the log files, you may use
Hi,
Is it possible to redirect syslog into a file (maybe even have it both on
UART and a file)? Also a question is there utility like logrotate or any
other so that maximum size for logs can be set and possibly compression
when one log file is closed and new one is open?
Best regards,
Petro