0 Replies Latest reply on Jan 17, 2017 9:27 AM by Scott Cornell

    ops4j.pax logging configuration not reading custom appender

    Scott Cornell Newbie

      I'm trying to add a custom appender to an existing container's log configuration.  I've attempted both adding a profile w/the necessary logging configuration and editing the container etc/org.ops4j.pax.logging.config file, as discussed here: How to modify container properties in Fabric environment - Red Hat Customer Portal.  Neither method works.  In debugging the problem on the container via remote debugging I see that my custom appender is not being included in the log4j appender list, e.g. the org.apache.log4j.helpers.AppenderAttachableImpl.appenderList only contains 2 appenders, the "normal" file and sift appenders included in the default logging config.  However, if I run my unit tests outside the ESB using a direct log4j.properties file to configure the appender, everything works.  So I have to assume there's something wrong w/my ops4j config file, which I've attached here.  Any ideas?