log messages to log file
log all errors to log file
add logrotate rules
Merge branch 'logging'