DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=42516>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=42516





------- Additional Comments From [EMAIL PROTECTED]  2007-05-24 21:48 -------
Thanks for the comment.
I use a property file for log4j. It is also packaged in the Eclipse plugin. 
The content of file is:
log4j.rootLogger=debug, MyProject

log4j.appender.ConvTool=org.apache.log4j.RollingFileAppender
log4j.appender.ConvTool.File=logs/conversion.log
log4j.appender.ConvTool.MaxFileSize=1MB
log4j.appender.ConvTool.MaxBackupIndex=5
log4j.appender.ConvTool.layout=org.apache.log4j.PatternLayout
log4j.appender.ConvTool.layout.ConversionPattern=%p %d [%t] %c - %m%n

It is placed under config folder. And I use 
PropertyConfigurator.configure(ConversionLogger.class.getClassLoader()
                .getResource("config/log4j.properties"));
to load the property.


(In reply to comment #1)
> You would do yourself and us a favor by bringing this up on the Log4j-user 
list
> instead of immediately reporting this as a bug.  In any case, how do you
> configure Log4j?  Do you use a config file or just code?  If the former, where
> do you put the config file?  Do you use auto configuration or manual
> configuration?  Do you use a repository selector?  Any other details that 
might
> help us narrow down the issue?
> Jake



-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to