Hi,

You shall add this :

log4j.logger.org.apache.commons.httpclient.params.DefaultHttpParams=DEBUG


Thanks,
Wendal Chen

2009/6/16 mikkin <[email protected]>

>
> I am trying to set the -Dlog4j.defaultInitOverride=true as a system
> property
> since I do not want log4j to look for the configuration file. However I get
> this warning:
>
> log4j:WARN No appenders could be found for logger
> (org.apache.commons.httpclient.params.DefaultHttpParams).
> log4j:WARN Please initialize the log4j system properly.
>
> I tried using log4j.debug=true to see if I can catch something, but I didnt
> see any configuration taking place. All I could see is the set file method
> being called by my fileAppender.
>
> I also have commons-logging.jar in my build path. Wonder if that causes the
> warning to show.
>
> Let me know if you need any more info. I would really appreciate any kind
> of
> help on this :)
>
>
> Thanks
> Mikkin
> --
> View this message in context:
> http://www.nabble.com/log4j.defaultInitOverride-tp24042110p24042110.html
> Sent from the Log4j - Users mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>

Reply via email to