Hi,

First time user of Chainsaw here.  

I've googled/nabbled alot of topics on logFormat and tried different
possible combinations to read in 2 of our logfiles.  And I'm always getting
"found non-matching lines..."

Processes.log (sample is also below) is very challenging to me too.  There
are additional "elements" separated by "[ ]" and they are I guess not
standard columns of log4j.  Please help me on the logFormat for that too.

Many thanks!

Aken



GridLog_configuration
================

<log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/";
debug="true">

<plugin name="fileReceiver"
class="org.apache.log4j.varia.LogFilePatternReceiver">
 
 
 
 
 
</plugin>

  <root>
     <level value="debug"/>
  </root>
</log4j:configuration>

Sample grid.log
===========

17 Sep 2007 03:12:00,625 WARN  HAHub           : Encountered an error while
synchronizing shared resources. Retrying...
com.mylops.foundation.gridframework.sharedresource.SharedResourceException:
Message[summary=The Master proxy was not found., detail=While performing an
operation on the shared resource "ldap-configuration", the proxy for the
Master on peer
[urn:jxta:uuid-59616261646162614E504720503250335FA07AD0B06B438F842FEC0D9C6BCF8003]
was not found.]
        at
com.mylops.foundation.gridframework.HAHub$SharedResource.synchronizeStateWithMaster(HAHub.java:3176)
        at
com.mylops.foundation.gridframework.HAHub$SynchronizeSharedResourcesWithMasterWorker.call(HAHub.java:5100)
        at
com.mylops.foundation.gridframework.HAHub$SynchronizeSharedResourcesWithMasterWorker.call(HAHub.java:5051)
        at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:269)
        at java.util.concurrent.FutureTask.run(FutureTask.java:123)
        at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
        at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
        at java.lang.Thread.run(Thread.java:595)

log4j.xml configuration 
================

<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE log4j:configuration SYSTEM "log4j.dtd">

<log4j:configuration xmlns:log4j="http:/jakarta.apache.org/log4j/">

        <appender name="ProcessAppender"
class="org.apache.log4j.RollingFileAppender">
                
                
                
                
                <layout class="org.apache.log4j.PatternLayout">
                        
                </layout>
        </appender>
        
        <appender  name="RollingFile" 
class="org.apache.log4j.RollingFileAppender"
>
                
                
                
                
                <layout class="org.apache.log4j.PatternLayout">
                        
                </layout>
        </appender>

        <logger name="com.mylops" additivity="false">
                <level value="warn" />
                <appender-ref  ref="RollingFile" />
        </logger>
    
        <logger name="net.jxta" additivity="false">
                <level value="error" />
                <appender-ref  ref="RollingFile" />
        </logger>
 
         <logger name="com.sun.faces"  additivity="false">
                <level value="error" />
                        <appender-ref  ref="RollingFile" />
                 </logger>
    
                <logger name="javax.faces"  additivity="false">
                                <level value="error" />
                        <appender-ref  ref="RollingFile" />
                </logger>

    <logger name="processes" additivity="false">
       <level value="off" />
            <appender-ref ref="ProcessAppender"/>
    </logger>

        <root>
                <level value="warn" />
                <appender-ref  ref="RollingFile" />
        </root>
</log4j:configuration>





process.log sample
==============
10 Sep 2008 03:09:46,571 [Current Time=Wed Sep 10 03:09:46 BST 2008]
[Process Name=:Module1:Module-Utilities:Utilities1:MyAlerts] [Root Job
Id=2ad6505aff2ebcfa:182fe42d:11c4132e476:-80002-1221012586509] [Job
Id=2ad6505aff2ebcfa:182fe42d:11c4132e476:-80002-1221012586509]
An error occurred that triggered compensation:
  Summary: Execution failed.

 Caused by:
   Summary: no peer with a running instance of WorkFlowAnalyzer found
10 Sep 2008 03:09:46,571 [Current Time=Wed Sep 10 03:09:46 BST 2008]
[Process Name=:Module2:Module-Utilities:Inbound:Initialize Values[1]] [Root
Job Id=2ad6505aff2ebcfa:182fe42d:11c4132e476:-80002-1221012586509] [Job
Id=2ad6505aff2ebcfa:182fe42d:11c4132e476:-80002-1221012586509]
The process started.
10 Sep 2008 03:09:46,571 [Current Time=Wed Sep 10 03:09:46 BST 2008]
[Process
Name=:My_Env_Out_Variable_Declaration_Module:My_Env_Generic_Utilities:Out_Mess_Queue_Util:Process
Entries in Out Box] [Root Job
Id=2ad6505aff2ebcfa:182fe42d:11c4132e476:-80002-1221012586509] [Job
Id=2ad6505aff2ebcfa:182fe42d:11c4132e476:-80002-1221012586509]
Adapter request
[adapter request=
<request-data>
  <my-action>
    <fields>
      <field>Description</field>
      <field>Detailed_Description</field>
      <field>Reported Source</field>
      <field>Requester Full Name</field>
    </fields>
  </my-action>
</request-data>] 


-- 
View this message in context: 
http://www.nabble.com/logFormat-param-problem-in-Chainsaw-2-tp19544323p19544323.html
Sent from the Log4j - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to