fix logger not rotating log files except on startup/shutdown

Signed-off-by: Thomas Stilwell <stilwellt@openlabs.co>
Merge pull request #835 from benemorius/fix-logfile-maxsize

fix logger not rotating log files except on startup/shutdown