logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sangeetha k <get2sa...@yahoo.com>
Subject chainsaw issue
Date Tue, 01 Nov 2011 16:04:05 GMT
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:] [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)]
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.
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message