0 Replies Latest reply on May 17, 2005 3:05 PM by bmelloni

    Supressing deploy-time log4j error message in 3.2.3

    bmelloni

      I am using the old 3.2.3 version, and for various reasons I cannot upgrade to a more current version where this problem has been corrected. I also have log4j and an application-specific log4j configuration file in my EAR. Therefore, everything works fine but at deploy time I get the error:

      ERROR [STDERR] log4:ERROR A "org.jboss.logging.util.OnlyOnceErrorHandler" object is not assignable to a "org.apache.log4j.spi.ErrorHandler" variable.

      and the subsequent errors.

      Is there a way to configure log4j (either in the server or in the application) so that this error is supressed without supressing other STDERR errors?

      I could even live with supressing all of the log4j module-specific errors, so long as other server and application errors still display.

      Suggestions?