-
Notifications
You must be signed in to change notification settings - Fork 32
Silence logback startup messages #456
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
Conversation
@rafapereirabr A couple of things I'd like your opinion on.
I think verbose = T, should set INFO, not ALL. As debug and trace are very specific messages that I don't think they have much use for a user looking at only the R side of the code, and they significantly clutter the screen. While INFO still gives a much greater output than only ERROR but makes it much more palatable to process the information. Some example messages of DEBUG are:
|
@rafapereirabr This would be extremely easy from the little jar implementation side. From the R side we refactor all verbose variables to be Strings instead of Booleans with a default of "ERROR" (same result as current implementation). And in the documentation we explain you can pass verbose = "WARN" and verbose = "INFO". This does introduce added complexity however, as now the user can't just guess that there is a verbose paramater and write Perhaps we can "grandfather" verbose = T to be equal to verbose = "INFO". I'm not sure if its possible for variables in R to be strings and booleans at the same time? |
|
|
|
# Conflicts: # r-package/inst/jar/r5r.jar
…numbers through env
…rcore-logging-rewrite
# Conflicts: # r-package/inst/jar/r5r.jar
@rafapereirabr Branch is ready for merging. While having separate logging levels for the console and the logfile would in theory be possible. It looks like it wouldn't be that simple to implement and add complexity to maintaining. I suggest we either open a separate issue for it, or forget about the idea. |
Thanks, @BardyBard . I'm Ok with using the same logging levels in the console and log file. No problem! |
Yes we are! |
fantastic ! will merge it now. ! we'll just need to update the |
Changes:
console/file have separate levels, file always verbose = tExample logback initialization messages: