Bugs item #2491873, was opened at 2009-01-07 03:25 Message generated for change (Comment added) made by bindul You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=1020092&aid=2491873&group_id=212019
Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: insight-ui Group: insight-ui-1.5.2 Status: Closed Resolution: None Priority: 5 Private: No Submitted By: Arnauld Van Muysewinkel (arnauldvm) Assigned to: Nobody/Anonymous (nobody) Summary: Erroneous "log pattern doesnot match data" Initial Comment: Trying to open a log file, I always get the error message "Specified log pattern doesnot match data in:"(+ log file path). Though, I copied the log pattern from my log4j.properties in my preferences. The log pattern is the following: %-5p %d{yyyy-MM-dd HH:mm:ss,SSSZ} %t %c %m%n The log file contains only the following lines: << INFO 2008-11-21 16:05:44,122+0100 main com.xxx.yyy ## Loading XXX INFO 2008-11-21 16:05:44,435+0100 main com.xxx.yyy STARTED run INFO 2008-11-21 16:05:54,076+0100 main com.xxx.yyy TERMINATED run >> I also tried with the following other patterns: %p %d{yyyy-MM-dd HH:mm:ss,SSSZ} %t %c %m%n %p %d{yyyy-MM-dd HH:mm:ss,SSS'+001'} %t %c %m%n %p %d{yyyy-MM-dd HH:mm:ss,SSS}+001 %t %c %m%n but to no avail. Since I found no error log, I've no way to investigate further to understand what's wrong in my pattern. ---------------------------------------------------------------------- >Comment By: Bindul Bhowmik (bindul) Date: 2011-01-25 22:45 Message: There was a problem we were handling the timezone +/- signs. Opened defect 3165687 for this and fixed in SVN on the 1.5.x maintenance branch (r271) ---------------------------------------------------------------------- Comment By: Regu (regunathb) Date: 2009-01-07 05:09 Message: Closing this bug as this pattern %-5p %d{yyyy-MM-dd HH:mm:ss,SSS}%x %t %c %m%n works with the minor issue of not displaying timezone in the log entry time display. As explained in the comment below, a later pattern for dateformat has been used. Insight is built against the log4j 1.3 release. ---------------------------------------------------------------------- Comment By: Nobody/Anonymous (nobody) Date: 2009-01-07 03:57 Message: I tried with a pattern like: %-5p %d{yyyy-MM-dd HH:mm:ss,SSS}%x %t %c %m%n and it works. I suspect its got to do with the date pattern you have used in the log creation. Insight was built on the log4j1.3 release and you might be using a later one now. -Regu ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=1020092&aid=2491873&group_id=212019 ------------------------------------------------------------------------------ Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d _______________________________________________ mindtreeinsight-devel mailing list mindtreeinsight-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mindtreeinsight-devel