1 Reply Latest reply on Sep 1, 2010 5:04 AM by skyeweaver

    Logging to file or JMS in JBoss

    skyeweaver

      Hi Everyone,
      I have been gathering different pieces of information on logging in
      JEE environment to set up my own logging scheme in JEE project.
      Keeping in mind that according to JEE specification writing directly to java.io
      is not allowed from EJB components I think that what is worth considering
      is a JMSAppender which has some pros and cons but first and foremost it is EJB specification compliant.
      My question is as follows: if it is not the right
      approach to send logs to files then how does compare to internal logging in JBoss server?
      Obviously it must make use of java.io but still this is a JEE environment so
      is it correct to assume that JEE services implemented in JBoss can log to files because they are not
      made up of EJB but applications based on EJB components must not do it?

       

      I'd appreciate your opinions.
      Cheers!

      Liam.

        • 1. Re: Logging to file or JMS in JBoss
          skyeweaver

          Hello again,

          No one really can explain how JBoss logs to a file if the container managed beans must not write directly to a file IO?
          Is JBoss internally using some resource adapter to access file system to this end?

           

          Any reply is highly appreciated.
          Thanks!
          Liam.