1 Reply Latest reply on Jan 12, 2009 12:19 PM by Peter Johnson

    JBoss Logging

    div garg Newbie


      Currently I m working JBoss Logs. I have to to seperate the logs according to databases of my system. Seperate logs files should be formed
      .I have made changes to log4j but not upto that extant. Can anyone help me.

      Thanks And Regards
      Divya garg

        • 1. Re: JBoss Logging
          Peter Johnson Master

          What do you mean by "seperate the logs according to databases of my system"? Could you give an example of how you would expect this to behave?

          Note that with log4j you can log to separate files by using different categories, and usually the category name reflects the class' package name. As long as each database is used by a different application, and each application uses a different package name, then log4j can handle it. Anything else and you will be doing a lot of custom coding.