1 Reply Latest reply on Mar 3, 2015 2:44 PM by James Perkins

    Log files per webapplication on the same Wildfly server

    Adrian Los Newbie

      Dear Forumers!

       

      I have two little application a Wildfly server.

      I'd like to log those application in two different log file like ...final/standalone/log/LittleAppA.log and ...final/standalone/log/LittleAppB.log.

      There is any opportunity to separate this log in the .../standalone/standalone.xml config file?

       

      My logger declared in this way in both application:

          @Produces
          public Logger produceLog(InjectionPoint injectionPoint) {
              Logger mylogger = Logger.getLogger(injectionPoint.getMember().getDeclaringClass().getName());
              return mylogger;
          }
      

       

      Thank you in advance for any help you can provide.

      Adrian