To Add with that, I am using xml configuration file to configure log4j. Sumit
>>> On Fri, Jan 27, 2006 at 1:33 pm, in message <[EMAIL PROTECTED]>, [EMAIL PROTECTED] wrote: > Hi Devs, > > I am using log4j alpha6 for logging. Quite good, but still facing few > problems and need you help .. > > 1. While configure, there were many messages printed on the console. I > set LogLog.setQuiteMode(true) and many of the messages gone away. But > still there are few messages printed on the console. > As I am developing a CLI, I can not afford any such messages on the > console. > Here are the messages printed: > > *** configurationOptionStr=log4j.properties > ** End of LogManager static initializer > (there are direct SOPs .. can we comment them out .. or use logger to > do so) > > 0 [main] WARN org.apache.log4j.config.PropertySetter - No such property > [storeLocation] in org.apache.log4j.Hierarchy. > 1 [main] WARN org.apache.log4j.config.PropertySetter - No such property > [logStyle] in org.apache.log4j.Hierarchy. > (Here xyz is the variable I am using for configuring some property of > my own and not related to log4j .However I feel there must be some way > to stop printing such messages on the console.) > > 2. I am extending RollingFileAppender to customize it for my purpose. > However this class is final in alpha- 7 and 8 builds. > Can we make it extensible ?? > > Any suggestion/help is welcomed ... > Sumit > > --------------------------------------------------------------------- > To unsubscribe, e- mail: log4j- dev- [EMAIL PROTECTED] > For additional commands, e- mail: log4j- dev- [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
