GlenNicholls / unraid_parity_scripter

Unraid user script that supports specifying Python functions to call during parity check start/stop stages
MIT License
0 stars 0 forks source link

Set up rolling log file #3

Open GlenNicholls opened 1 year ago

GlenNicholls commented 1 year ago

Configure the logger to write info only to screen and also set up a file logger that logs debug info. The log file should implement a rolling log file so debug doesn't become too big.

On this note, we should also have the script log system info like unraid version, python version, package version etc. for debugging.