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
Option for disabling log rotation? #82
Comments
sorry not really yet (just like in TC), but there will be, somewhere along the next release(s), I did not want to add a separate option for that as I'd like a logging configuration to be fully customizable from trinidad.yml. for now you need to use 1.3 or change it and use a custom version https://github.com/trinidad/trinidad/blob/master/lib/trinidad/logging.rb#L79 |
Hi @kares . I've turned off logging here in my own custom version: https://github.com/tolsen/trinidad/blob/jux/lib/trinidad/logging.rb#L79 But now I am not seeing any requests being logged. If I turn rotation back on, I see requests being logged again. I don't know if it's relevant but I am setting :log_dir. Just in case, I checked the default location for the logs and I don't see anything there either Any idea what's happening? |
(reported as a comment for the proposed work-around #82)
- mainly to not require hacks for disabling rotation ...
@tolsen there was a bug 5fb7e0a I'm sorry this feature is coming a bit late since there were quite a few things planned about the logging configuration in my head - nevertheless, to get somewhere there's now unofficial support for configuring the file handler on master :
this should work with the next release 1.4.4 but do not take my word for it (might slightly change) ... |
Thanks again Karol! :-) I'll watch out for any changes. Btw, it appears that the correct key for specifying the directory is :dir |
So does the configuration shown above work in 1.4.4 to turn off log rotation? |
yes, it's just not officially supported yet ... since it should generically handle all possible JUL configurations |
Hi, the inofficial configuration works for me.
When is this feature official documented? At this point we can close this issue. |
Hi,
is there a option in the config to stop the log rotation?
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.
The text was updated successfully, but these errors were encountered: