[prev in list] [next in list] [prev in thread] [next in thread]
List: log4j-user
Subject: chainsaw issue
From: sangeetha k <get2sangi () yahoo ! com>
Date: 2011-11-01 16:04:05
Message-ID: 1320163445.13892.YahooMailNeo () web121412 ! mail ! ne1 ! yahoo ! com
[Download RAW message or body]
Hi,
I am using chainsaw to view the log generated using log4j.
Here is my configurations
Sample log
2011-10-31 08:02:00,332 [ INFO] [9447566@qtp-19458313-0] \
[net.hp.tr.businesslogic.referenceimplcustomer.businesslogic.CustomerController] \
[Organization: Travelocity] [Client: AA] [Location of device: DFW] [User: 550393] \
[User_role: Provider] [CorelationId: 947] [URL : \
http://localhost:8080/webapp/app/common_ux_js_shell/shell_devel.html] [Component: \
CustomerController.get] [Server: 127.0.0.1] [Request: ] [Response: void] [Status: \
pass] - Entering Method = get()
log4j format
<layoutclass="org.apache.log4j.PatternLayout"><!-- The log message pattern \
--><paramname="ConversionPattern"value="%d{ISO8601} [%p] [%t] [%X{classname}] \
[Organization: %X{organization}] [Client: %X{client}] [Location of device: \
%X{deviceloc}] [User: %X{user}] [User_role: %X{user_role}] [CorelationId: \
%X{corelationID}] [URL : %X{url}] [Component: %X{component}] [Server: %X{server}] \
[Request: %X{request}] [Response: %X{response}] [Status: %X{status}] - \
%m%n"/></layout>
chainsaw configuration
<param name="logFormat" value="TIMESTAMP [LEVEL] [THREAD] [CLASS] [PROP(ORGAN)] \
[PROP(CLIENT)] [PROP(LOCATION_DEVICE)] [PROP(USER)] [PROP(ROLE)] [PROP(CORELATIONID)] \
[PROP(URL)] [PROP(COMPONENT)] [PROP(SERV)] * - MESSAGE"/>
I was able to view the log in chainsaw upto prop(server) attribute, after that if i \
add PROP(REQUEST), response, status in the chinsaw configuration...log file is not \
getting loaded in chainsaw.
Thanks,
Sangeetha
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic