开发者

cobol - java console output

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜