HI,
I have a jar using log4j, it has only a file appender.
If I run it from eclipse or from windows command line it works fine, but if I call the jar from cobol the logger is printed in the console too.
I guess cobol is开发者_JAVA技巧 the problem, how could I deactivate the console log
thx a lot!
This is usually a classloader issue if the environment has its own log4j implementation which is called by your code instead of the log4j you bring with you.
Add details about your environment.
加载中,请稍侯......
精彩评论