2 Replies Latest reply on Feb 9, 2009 6:27 AM by div_gcet

    JBoss Consol

      Hi

      Here i am working Jboss 4.2.2. I have a JBoss Central Server to which many clients are attached. I have created some sysout statements at server side for debugging.And they are coming to console and they are same for every client. Now my problem is I want to distinguish these sysouts for every client so that i figure out which sysout related to which client. Can anyone help me here.

      Thanks And Regards
      Divya Garg

        • 1. Re: JBoss Consol
          peterj

          I assume by sysout you mean System.out? Don't do that, use logging instead and change the pattern layout to contain %t - that will identify the thread. To relate the thread back to the client have your servlet write the client info to the log.

          • 2. Re: JBoss Consol

            Thanks Sir ,Your's infomation helped me.