Re: How to turn off INFO messages
Bernardo F Costa <[email protected]>
| Newsgroups | gmane.comp.java.sshtools.user |
|---|---|
| Message-ID | <[email protected]> |
Can you show us the contents of the file
j2ssh.log4j.properties that you use ? In my case, it
works. The contents I use are above written:
log4j.rootLogger=WARN,myAppender
log4j.appender.myAppender.file=j2ssh.log
log4j.appender.myAppender=org.apache.log4j.FileAppender
log4j.appender.myAppender.layout=org.apache.log4j.PatternLayout
log4j.appender.myAppender.layout.ConversionPattern=[%d{MMM
dd HH:mm:ss}] %-5p (%F) - %m%n
--- Mustafa Cayci <[email protected]> escreveu:
> Bernardo,
>
> When I put the code you mentioned, I am getting the
> following during
> runtime.
>
> log4j:WARN No appenders could be found for logger (
>
com.sshtools.j2ssh.configuration.ConfigurationLoader).
> log4j:WARN Please initialize the log4j system
> properly.
>
> Thanks,
>
> Mustafa
>
__________________________________________________
Fale com seus amigos de graça com o novo Yahoo! Messenger
http://br.messenger.yahoo.com/
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV