Hi everyone!

log4j.properties:

    log4j.appender.medigs = org.apache.log4j.FileAppender
    log4j.appender.medigs.file = ${webappRoot}/WEB-INF/log/medigs.log
    log4j.appender.medigs.layout = org.apache.log4j.PatternLayout
    log4j.appender.medigs.layout.conversionPattern = %d [%t] %-5p %c - %m%n
    log4j.appender.medigs.append = false

the medigs.log file exists and is empty.

if i log out with the following source lines:

       Log.warn("medigs","Berechtigungsproblem Uploadversuch f�r Patient von
User: " + myju.getUserName());

the logging is always done to jetspeed.log file with:

     [05 Aug 2003 22:53:45  WARN] - FROM logger:medigs: Berechtigungsproblem
Uploadversuch f�r Patient von User: turbine


How can i configure log4j to use the medigs.log file?

Thanks for your help!
Roland Jernej

http://www.medigs.com


Reply via email to