Hi All,
Thanks in advance.
We are using log4j.properties file in our application and we are writing the logs to some file using log4j.appender.I1.File. Which is working fine and adding the Debug and Info related messages but in some places I have System.out.println() the messages which are given under this are not coming , please let me know what to do to achieve this.
System.out.println() is not picked up by the log4j framework. You should convert your System.out.println statements to logging statements instead and configure a CONSOLE appender in your log4j.properties file