Though i would not call this a ideal solution, you can change the threshold level of the CONSOLE appender to some value higher than INFO to supress these messages(and prevent the log files growing huge), till you get hold of the actual class from which this message is being logged.
<appender name="CONSOLE" class="org.apache.log4j.ConsoleAppender">
| <errorHandler class="org.jboss.logging.util.OnlyOnceErrorHandler"/>
| <param name="Target" value="System.out"/>
| <param name="Threshold" value="WARN"/>
| <layout class="org.apache.log4j.PatternLayout">
| <!-- The default pattern: Date Priority [Category] Message\n -->
| <param name="ConversionPattern" value="%d{ISO8601} %-5p [%c] %m%n"/>
| </layout>
| </appender>
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961798#3961798
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961798
If you read my last reply, you will notice that I said I can successfully repeat your test case with both large and small values for CONSUMER_SLEEP_TIME and RELAYER_SLEEP_TIME multiple times, without seeing memory increase and without seeing any messages left in the database.
So, as far as I am concerned I have not been able to replicate your problem, and everything is working ok.
As I say I am using the latest code, so that may explain the difference in behaviour.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961797#3961797
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961797
Thanks jaikiran
That was the first search we ran, looked for EVERY single System.out.println message in all the code. There was no such record.
Besides like I mentioned, once the problem starts, even after we undeploy ALL our ears from the deploy folder, the logging continues. If it was due to a println message in our code, it would stop the moment the affected ear is undeployed.
So so strange
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961795#3961795
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961795