Chainsaw only supports dragging and dropping XML formatted log files
(that's why the tab says "Drag & Drop XML log files here").
Unfortunately Chainsaw is not auto-magic in it's ability to guess
what the format of you text log file is, so this just isn't going to
work for you. Sorry.
Paul
On 21/06/2007, at 2:18 PM, ashish talati wrote:
HI Paul,
below is some of my logs withing lof file that I am tryin to drag
and drop.
[2007-06-20 22:56:29,625 DEBUG] [javawsApplicationMain]
[action.ConfigurationAction (ConfigurationAction.java:42) -
Starting internal logs on console.
][2007-06-20 22:56:29,640 DEBUG] [javawsApplicationMain]
[action.PluginAction (PluginAction.java:45) - About to instantiate
plugin of type [org.apache.log4j.net.SocketReceiver]
][2007-06-20 22:56:29,656 DEBUG] [javawsApplicationMain]
[action.PluginAction (PluginAction.java:59) - plugin named as
[SocketReceiver]
][2007-06-20 22:56:29,656 DEBUG] [javawsApplicationMain]
[action.PluginAction (PluginAction.java:70) - Pushing plugin on to
the object stack.
][2007-06-20 22:56:29,656 DEBUG] [javawsApplicationMain]
[action.ParamAction (ParamAction.java:61) - In ParamAction setting
parameter [Port] to value [4445].
][2007-06-20 22:56:29,671 DEBUG] [javawsApplicationMain]
[action.PluginAction (PluginAction.java:102) - Popping plugin named
[SocketReceiver] from the object stack
][2007-06-20 22:56:29,671 DEBUG] [javawsApplicationMain]
[action.AppenderAction (AppenderAction.java:52) - About to
instantiate appender of type [org.apache.log4j.RollingFileAppender]
][2007-06-20 22:56:29,687 DEBUG] [javawsApplicationMain]
[action.AppenderAction (AppenderAction.java:67) - Appender named as
[RollingFile]
][2007-06-20 22:56:29,687 DEBUG] [javawsApplicationMain]
[action.AppenderAction (AppenderAction.java:78) - Pushing appender
on to the object stack.
][2007-06-20 22:56:29,687 DEBUG] [javawsApplicationMain]
[action.ParamAction (ParamAction.java:61) - In ParamAction setting
parameter [File] to value [C:\\chainsaw1.log].
][2007-06-20 22:56:29,687 DEBUG] [javawsApplicationMain]
[action.ParamAction (ParamAction.java:61) - In ParamAction setting
parameter [Append] to value [true].
][2007-06-20 22:56:29,687 DEBUG] [javawsApplicationMain]
[action.ParamAction (ParamAction.java:61) - In ParamAction setting
parameter [MaxFileSize] to value [1000KB].
][2007-06-20 22:56:29,687 DEBUG] [javawsApplicationMain]
[action.ParamAction (ParamAction.java:61) - In ParamAction setting
parameter [maxBackupIndex] to value [5].
but I am getting following 4 error logs and it is keep repeating
infinitely.
Log4jEntityResolver.resolveEntity(null, dummy://log4j.dtd/
log4j.dtd) called
setFile called: C:\chainsaw1.log, true
setFile ended
Failure in post-close rollover action
Is it having some problem with rolling file ?...because I set the
limit of rolling file as 1MB ,then also it keep increasing as 30Mb
or high??
I will be thankful for any kind of your help.
Regards,
Paul Smith <[EMAIL PROTECTED]> wrote:
Are you able to build a short version of your log file that you are
trying to drag and drop into Chainsaw and point out examples of rows
that are being dropped?
If you can post this to the list, we might be able to help.
Paul
On 19/06/2007, at 8:23 AM, ashish talati wrote:
Hi Paul,
Thanks for your help,
I can try another format,
how ever can you please look into my other problems that I
previously described?
That are regarding skipping some logs and drag and drop xml file
error!!!
regards,
Paul Smith
wrote:
Time 2007-06-18 11:50:02,223 ----> in the chainsaw
log panel
timestamp="1182185402223"---------> in the log file
Since you are using the XMLLayout for the log file being written to
disk, this is the way that layout outputs the Timestamp, using the
epoch timeformat of "number of milliseconds since 1-1-1970", which is
what the internal format for storing time.
If you don't want XML formatted logs, use a different Layout, such as
PatternLayout.
It looks entirely different except last 5 digits.
2)I really dont know how to configure specific logger for my
rolling File appender.
Can you give me specific example? (what can be logger hierarchy?)
I tried to create as below ,but It is not working.
I would suggest you first read the short manual available online:
http://logging.apache.org/log4j/docs/manual.html
If that and the JavaDoc documentation doesn't get you started I'd
highly recommend Ceki's commercial book on log4j.
http://www.qos.ch/shop/products/eclm/
Paul
---------------------------------
Be a better Heartthrob. Get better relationship answers from
someone who knows.
Yahoo! Answers - Check it out.
Paul Smith
Core Engineering Manager
Aconex
The easy way to save time and money on your project
696 Bourke Street, Melbourne,
VIC 3000, Australia
Tel: +61 3 9240 0200 Fax: +61 3 9240 0299
Email: [EMAIL PROTECTED] www.aconex.com
This email and any attachments are intended solely for the addressee.
The contents may be privileged, confidential and/or subject to
copyright or other applicable law. No confidentiality or privilege is
lost by an erroneous transmission. If you have received this e-mail
in error, please let us know by reply e-mail and delete or destroy
this mail and all copies. If you are not the intended recipient of
this message you must not disseminate, copy or take any action in
reliance on it. The sender takes no responsibility for the effect of
this message upon the recipient's computer system.
---------------------------------
Now that's room service! Choose from over 150,000 hotels
in 45,000 destinations on Yahoo! Travel to find your fit.
Paul Smith
Core Engineering Manager
Aconex
The easy way to save time and money on your project
696 Bourke Street, Melbourne,
VIC 3000, Australia
Tel: +61 3 9240 0200 Fax: +61 3 9240 0299
Email: [EMAIL PROTECTED] www.aconex.com
This email and any attachments are intended solely for the addressee.
The contents may be privileged, confidential and/or subject to
copyright or other applicable law. No confidentiality or privilege is
lost by an erroneous transmission. If you have received this e-mail
in error, please let us know by reply e-mail and delete or destroy
this mail and all copies. If you are not the intended recipient of
this message you must not disseminate, copy or take any action in
reliance on it. The sender takes no responsibility for the effect of
this message upon the recipient's computer system.