List-Archive: <http://www.mail-archive.com/mindtreeinsight-users@lists.sourceforge.net> Raghu, Thank you very much for providing the below pattern for analyzing SystemErr.log and trace.log files. It very easy to sort messages and see a particular exception pattern (e.g. NullPointerExcetion) across a log file. It will be very useful for our analysis. Please do provide the pattern details for SystemOut.log also.
Naik, Can u please have one of the production support team members to spend sometime in exploring this area more? Thanks, Harvinder Singh| Onsite Project Manager| MindTree Ltd.| 2655 Seely Avenue, San Jose, CA 95134| Cell: 408-802-0238| Desk: 408-944-7063| email: sin...@cadence.com| www.mindtree.com| -----Original Message----- From: Regunath Balasubramanian [mailto:regunath_balasubraman...@mindtree.com] Sent: Sunday, August 08, 2010 10:54 PM To: Harvinder Singh; Insight Users Discussion List Cc: prashan...@mindtree.com; Bipin Kumar Muraleedharan Nair Th Nair Thankamun Subject: RE: [insight-users] Pattern definition in Insight Harvinder, I see from the log files that you are probably not using lo4j like pattern based logging. The pattern below allows me to interpret the SystemErr.log and Trace.log. [%d{M/dd/yy HH:mm:ss:SSS zzz}] %L %c %x %m See snapshot. I have also customized the list of columns being displayed. You can do the same using the "Event column display" in under "Maintain Preferences" SystemOut.log appears to be trickier to parse. Will let you know if I can decipher a pattern for it. Btw, the most common error people (who don't use log4j or similar logging frameworks) face is w.r.t to the pattern. Our log event interpreter uses java.text.SimpleDateFormat and org.apache.oro.text.regex.* package classes. You may look at them for help on specifying the appropriate patterns. Another option would be to migrate to using a logging framework like log4j and use patterns that can give you Thread, Category, Priority etc in the logs. In fact all the log entries in your logs fall under the same Priority and hence makes debugging lots more difficult. For now, specifying the pattern as simply "%m" in the "Secondary Pattern" setting will let you load the SystemOut.log. But that does not let you leverage any of the Insight filtering features. You may also want to look at : http://www.logmx.com/ It is licensed but appears to be lots more flexible for specifying patterns. Cheers! Regu -----Original Message----- From: Harvinder Singh [mailto:sin...@cadence.com] Sent: Saturday, August 07, 2010 1:55 AM To: Regunath Balasubramanian; Insight Users Discussion List Cc: Prashant N; Bipin Kumar Muraleedharan Nair Th Nair Thankamun Subject: RE: [insight-users] Pattern definition in Insight Raghu, Bindul, Thanks a lot for your prompt responses. Please find the snippet of 3 log files that we use very frequently to debug issues. Help in providing the pattern setting for them. Moreover, it would be helpful to get some documentation for this tool that help in debugging purpose. * SystemErr.log * SystemOut.log * Trace.log Thanks, Harvinder Singh| Onsite Project Manager| MindTree Ltd.| 2655 Seely Avenue, San Jose, CA 95134| Cell: 408-802-0238| Desk: 408-944-7063| email: sin...@cadence.com| www.mindtree.com| -----Original Message----- From: Regunath Balasubramanian [mailto:regunath_balasubraman...@mindtree.com] Sent: Friday, August 06, 2010 1:55 AM To: Insight Users Discussion List; Harvinder Singh Subject: RE: [insight-users] Pattern definition in Insight Harvinder, I can help you specify the pattern to use is you provide me your log4j.properties file or a snippet of your log. Cheers! Regu -----Original Message----- From: Bindul Bhowmik [mailto:bindulbhow...@gmail.com] Sent: Friday, August 06, 2010 2:19 PM To: Insight Users Discussion List; sin...@cadence.com Subject: Re: [insight-users] Pattern definition in Insight List-Archive: <http://www.mail-archive.com/mindtreeinsight-users@lists.sourceforge.net> http://www.mindtree.com/email/disclaimer.html ------------------------------------------------------------------------------ This SF.net email is sponsored by Make an app they can't live without Enter the BlackBerry Developer Challenge http://p.sf.net/sfu/RIM-dev2dev _______________________________________________ mindtreeinsight-users mailing list mindtreeinsight-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mindtreeinsight-users