0 Replies Latest reply on Dec 4, 2005 11:10 AM by J Y

    Changing output format of System.out from my app

    J Y Newbie

      From my application some times I print messages using System.out.println. These messages are being printed on Console and server.log in this format:

      yyyy-mm-dd hh:mm:ss,SSS INFO [STDOUT] <message>

      what I want is to print those messages in this format:
      yyyy-mm-dd hh:mm:ss,SSS <message>

      So basically only for those messages I want to use:

      <param name="ConversionPattern" value="%d %m%n"/>

      For all other messages, I want to continue to print in the default format specified in /conf/log4j.xml

      How can I do that? I know for a fact that all my messages start with the following 5 characters: "PEND:" or "WEBF:".