lumberjack
lumberjack copied to clipboard
Log file permission attributes
Hi,
Thanks for the good work on making this gem. We use it in our application.
Our application uses DateRollingLogFile as the logging device log file. Part of our application is a daemon process that does some work. We notice that after log file rolls, the newly created log file is created and owned by nobody/nogroup and is only owner/group writable. Is there anyway we can do run OS' chmod command to change it when log file rolls?
Thanks, Alex
Is it the archived file that ends up with bad permissions or is it the live log file?
The live log file.