Bugs item #2491873, was opened at 2009-01-07 10:25 Message generated for change (Comment added) made by regunathb 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-v1.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: Regu (regunathb) Date: 2009-01-07 12: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 10: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 ------------------------------------------------------------------------------ Check out the new SourceForge.net Marketplace. It is the best place to buy or sell services for just about anything Open Source. http://p.sf.net/sfu/Xq1LFB _______________________________________________ mindtreeinsight-devel mailing list mindtreeinsight-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mindtreeinsight-devel