Log messages to separate files in a directory, with rotate options