Multi logging and file rotation