Bugs item #2971879, was opened at 2010-03-17 11:03
Message generated for change (Comment added) made by regunathb
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=1020092&aid=2971879&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: Markus M. May (triplem)
>Assigned to: Regu (regunathb)
Summary: Logpattern

Initial Comment:
Hello,

I do have the following statments in our log:

2010-03-17 09:11:52,027 18644108 INFO  
[org.test.contract.core.components.action.ContractBaseAction] 
{F9E12BC03230C77AB20A4F3E6658878B} isValide(lastObject)
2010-03-17 09:11:52,027 18644108 WARN  
[org.test.contract.core.components.action.ContractBaseAction] 
{F9E12BC03230C77AB20A4F3E6658878B} Returning -1
2010-03-17 09:11:52,027 18644108 INFO  
[org.test.contract.core.components.action.ContractBaseAction] 
{F9E12BC03230C77AB20A4F3E6658878B} end call getCurrentFromObjectAfterParsing

These are produced using logj4 1.2.14.

The following pattern is the original one:
%d %-5r %-5p [%c] {%X{sid}} %m%n

I have modified it slightly and try to use this as a secondary pattern:
%d{yyyy-MM-dd HH:mm:ss,SSS} %-5r %-5p [%c] {%x{sid}} %m%n

Unfortunately to no avail. Any help?




----------------------------------------------------------------------

>Comment By: Regu (regunathb)
Date: 2010-03-17 12:05

Message:
Hi,

Please configure the Primary Pattern of Insight to 
%d{yyyy-MM-dd HH:mm:ss,SSS} %r %p [%c] %x %m%n

Unfortunately we dont have a column to display NDC. You may however
"overload" an existing field like Line Number to display NDC. In this case
the pattern would look like:
%d{yyyy-MM-dd HH:mm:ss,SSS} %r %p [%c] %L %m%n

Hope this helps. See attached screen grab where I used your log snippet
and the pattern that I have provided above.
Note that { and } have specific meaning in pattern recognition and may not
work when used as demarcation in the log pattern.

Cheers!
Regu

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=1020092&aid=2971879&group_id=212019

------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
mindtreeinsight-devel mailing list
mindtreeinsight-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mindtreeinsight-devel

Reply via email to