Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Log file permission attributes #4

Open
alexw668 opened this issue Sep 16, 2011 · 2 comments
Open

Log file permission attributes #4

alexw668 opened this issue Sep 16, 2011 · 2 comments

Comments

@alexw668
Copy link

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

@bdurand
Copy link
Owner

bdurand commented Oct 6, 2011

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

@alexw668
Copy link
Author

alexw668 commented Oct 7, 2011

The live log file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants