Open jimlund opened 3 years ago
edit the logback.xml or logback-console.xml under the config directory. Change root level="warn" to root level="off"
logback-console.xml is the one used for gorpipe. The root level logger is set by default to "off" though.
There is though an audit logger that is set by default to DEBUG, it is possible that you seeing output from that logger. I was not awate that it was used in standard gorpipe usage. @jimlund to you have an example of the DEBUG output you are receiving?
Hi Jim - can you send me your email?
I am jlund256 :at: gmail.
Thanks for the help. It turned out to be path issues--I am running in Cygwin on Windows with Oracle Java. Cygwin translates C:\Users paths to /cygwin/c/Users, but between bash, gor, and java, things get messed up.
I was able to suppress them by hard coding the path in the gorpipe script:
DEFAULT_JVM_OPTS='"-Djava.security.egd=file:/dev/./urandom" "-Dlogback.configurationFile=file:C:\Users\jim.lund\gorscripts-3.11.2-dist\config\logback.xml"'
It is a strange setup and not worth trying to support.
Cheers,
Jim
How can I suppress DEBUG messages from gor / gorpipe? I was able to turn off the INFO messages using log4j.properties.
Jim Lund