lumberjack icon indicating copy to clipboard operation
lumberjack copied to clipboard

Log file permission attributes

Open alexw668 opened this issue 14 years ago • 2 comments

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

alexw668 avatar Sep 16 '11 01:09 alexw668

Is it the archived file that ends up with bad permissions or is it the live log file?

bdurand avatar Oct 06 '11 22:10 bdurand

The live log file.

alexw668 avatar Oct 07 '11 03:10 alexw668