Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

Log4jLogger not working 4.2.0.GA

Help
Gonza.
2009-06-25
2013-04-25
  • Gonza.
    Gonza.
    2009-06-25

    Hi,

    All the logging options work fine for my 4.2.0.GA setup BUT the
    appender=com.p6spy.engine.logging.appender.Log4jLogger

    I never get any output from there:

    For weeks I tried many combinations unsucessfully . The latest is :
    log4j.appender.stdout=org.apache.log4j.RollingFileAppender
    log4j.appender.stdout.File=/weblogs/1/spy.log
    log4j.appender.stdout.DatePattern='.'yyyy-MM-dd
    log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
    log4j.appender.stdout.layout.ConversionPattern=%-4r [%t] %-5p %c %x - %m%n
    log4j.logger.p6spy=info, stdout

    the location for the files is :

    /apps/jboss/server/esapps1/conf/spy.properties
    [/apps/jboss/server/esapps1/lib/p6spy.jar

    which should be correct. As said it works perfectly fine with other appenders.

    Anybody got any idea what should be wrong about this? how will be possible to make the log4j properly running?

    Thanks very much

    Gonzalo

     
  • Pat
    Pat
    2010-12-28

    Hi there -

    Sorry for the late response. I think I am the only one who has recently done anything with p6spy. I got some basic access to this project from the only original developer I could reach. Unfortunately, not full project admin access. So I have moved over to github for further development.

    You are welcome to help out there by forking and then sending me a pull request.

    https://github.com/patmoore/p6spy