1 Reply Latest reply on Jul 26, 2013 4:22 AM by wdfink

    Jboss 7 and logging

    haribaasha

      Hi,

            I am using webservices on jboss 7 and I have my application pojo code as a module which the webservice invokes. My pojo code uses log4j. how do I get it to work ?

       

      I see a lot of discussions on having log4j bundled as part of the war deployment. what about the modules ?

        • 1. Re: Jboss 7 and logging
          wdfink

          Do you use 'only' the log4j.Logger inside the pojo's but do not ship a extra configuration with your app?

          In that case I suppose it work if you add a log4j dependency to your module and configure the logger inside the logging subsystem in the configuration.