modules/log: Don't make a new logfile for every day

Having a new logfile for every day can cause problems with directory
traversal and it does not scale.