Fixed month in log entries used for logfile or stdout - was printing mins

Hi,

Just a small bug fix to the logging I came across when using petrified.
Great program!

Ian