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

New Feature request: Command line parameter to disable the filelog output #259

Closed
chaaseSimova opened this issue Dec 21, 2021 · 4 comments
Closed

Comments

@chaaseSimova
Copy link

Hi Jochen,
can you add a switch as a command line parameter to disable the filelog output?

Thank you in advanced. I wish you nice days before x-mas and a wonderful feat to you, your team and your family.
Best regards,

Christian

@jstaerk
Copy link
Collaborator

jstaerk commented Dec 21, 2021

I already tried two times but I might try a third time. It also bugs me but the logging is configured in a xml file and interestingly so far I was unable to figure out how to precisely (migrate that to code or) programmatically override that.

jstaerk added a commit that referenced this issue Dec 29, 2021
fixes #259: disable file logging
jstaerk added a commit that referenced this issue Dec 29, 2021
@jstaerk
Copy link
Collaborator

jstaerk commented Jan 2, 2022

see also #215

@jstaerk jstaerk reopened this Jan 2, 2022
@martinariehm
Copy link

See here for how to configure logback. One common way is to have a fallback logback.xml in the classpath (not in the library but, in the program that uses the library) but have the program first look in the file system for a file. This can then be changed so that logging into file will not happen for calls in the library.

@jstaerk
Copy link
Collaborator

jstaerk commented Apr 26, 2022

sorry no success so far

jstaerk added a commit that referenced this issue Aug 31, 2023
  fixes #259: disable file logging by setting system property "disabl…
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

3 participants