>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:". Thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3910523#3910523 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3910523 ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click _______________________________________________ JBoss-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jboss-user
