I feel it would be good if logger package support
1) saving log messages to logfile.
2) log file rotation.
I already implemented these enhancement locally and would like to contribute same to community.
Attached is the patch showing code changes for saving log to a file. ''logfile" needs to be set to logfile name for enabling the log saving