|
When using logback for application logging within a spring-shell application, logs and stacktraces seem to be printed to the console by default. This seems to cloud an interactive shell with information the user may not want to see. How do we disable console logging when running the application? What are the recommended conventions for printing lines to the shell and printing to a log file? |
Answered by
jvalkeal
Nov 18, 2022
Replies: 1 comment
|
It's mentioned in docs and sample also disable console logging and has lines commented out to write to a file. https://github.com/spring-projects/spring-shell/blob/main/spring-shell-samples/src/main/resources/application.yml. |
0 replies
Answer selected by
jvalkeal
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It's mentioned in docs and sample also disable console logging and has lines commented out to write to a file. https://github.com/spring-projects/spring-shell/blob/main/spring-shell-samples/src/main/resources/application.yml.