1

I want my application has its own logging configuration. I want to separate my logs from the server.log file. i am using jboss 7 and log4j. And please tell me how i configure my jboss 7 with my log4j and using struts2 framwork.

amit kumar
  • 121
  • 1
  • 10

1 Answers1

0

Read up about Log4J appenders. The general idea is you'd have an appender that would capture all logging under a specific package, preventing it from being outputted into server.log

Here is a reasonable answer that would help - log4j: Log output of a specific class to a specific appender

Community
  • 1
  • 1
Mike Palfrey
  • 426
  • 3
  • 8