Set the logfile name to include the number of seconds.

It is not unusual for us to log more than 1MB per minute in debug
builds (that's <150 lines/sec) in which case we get a name clash
when we rotate the logs.