Questions tagged [apache-chainsaw]

Chainsaw is a free, open source, java-based log viewer tool, mainly intended as a log4j companion.

Chainsaw is a companion application to Log4j written by members of the Log4j development community. Chainsaw can read log files formatted in Log4j's XMLLayout, receive events from remote locations, read events from a DB, or work with JDK 1.4 logging events.

52 questions
2
votes
4 answers

Log4j pattern, how to represent spaces

In log4j, How do we represent more than one spaces (like : \s+) in the pattern? I have a pattern like this %d{ISO8601}\t%t\t%m %n, but the tab-separation is not reliable when I was parsing through chainsaw and LogMX. I am searching for replacement…
Deepak Battu
  • 149
  • 1
  • 1
  • 5
2
votes
1 answer

How do I get Apache Chainsaw oeprating based on the following chainsaw-config.xml file?

I have Apache chainsaw V. 2 : The following is the XML file in the java project that I'd like to monitor using Apache chainsaw .
Caffeinated
  • 11,982
  • 40
  • 122
  • 216
1
vote
1 answer

Configuring Chainsaw to read logs from file via network share

I need to to read a Log4j log that is stored on a remote location via Windows network share. I tried to mount that share as local drive in Windows (L:, what a fantasy...) and then tried to configure the LogFilePatternReceiver in Chainsaw with the…
usr-local-ΕΨΗΕΛΩΝ
  • 26,101
  • 30
  • 154
  • 305
1
vote
1 answer

How to configure port in Apache Chainsaw with Log4j2

I got log4j2.xml that generates log files. Here is the config: %d | %-5p | [%t] | %c{2} | %M | %m%n
Bilguun
  • 130
  • 1
  • 12
1
vote
1 answer

Where can I find the source code for log4j's ZeroConfSocketHubAppender?

I'm looking for a way to make log4net support zeroconf to publish logs to Apache Chainsaw (see here: Does log4net support zeroconf?). Apparently log4j can already do this using a ZeroConfSocketHubAppender. Where might I be able to view the source…
urig
  • 16,016
  • 26
  • 115
  • 184
1
vote
1 answer

print class name,line number and method name in chainsaw v2

How can i print the class Name,Method name,line number etc. in chainsaw v2 log viewer with socket appender. This is my configuration file. log4j.rootLogger=DEBUG,…
madhu
  • 1,083
  • 3
  • 12
  • 31
1
vote
1 answer

Storage size in chainsaw v2

I have a java application now i want to infrastructure monitor for my application logs at run time. I am using log4j for logging.I have filtering(monitoring) logs with chainsaw v2.Its working fine but my concern is how much logs data showing in…
madhu
  • 1,083
  • 3
  • 12
  • 31
1
vote
1 answer

Chainsaw v2 SocketReceiver not working with log4j2 SocketAppender

I'm trying to use Chainsaw v2 from http://people.apache.org/~sdeboy I don't want to use zero configuration. Just a simple socketAppender/SocketReceiver combo. I'm using log4j2 with the following configuration
sha
  • 614
  • 6
  • 16
1
vote
2 answers

Chainsaw and plaintext log4j

I am trying to learn how to use Chainsaw. I have a text log4j file in SystemOut.log with rolling files. I set the file URL in a file pattern receiver to file:///C:/AppDev/prodlogs/SystemOut.log which is where I copied production logs to. The…
Entropy
  • 1,219
  • 6
  • 21
  • 45
1
vote
0 answers

log4j: SocketAppender and network link down

I have a Java application that use log4j. The application run on a linux server. I can (with script) add socket appender in the server. I use the log viewer Chainsaw. This log viewer works on my computer (on windows XP) I follow step below : Open…
Shaina
  • 51
  • 5
1
vote
4 answers

Is it possible to read the log file using Chainsaw?

I am having several log files [ generated via log4j ]. I got to know that we can use Chainsaw to read those logs [ though we can reads those logs in notepad as well ]. But i am unable to figure out how to open a stored log file to see its content.…
Rakesh Juyal
  • 35,919
  • 68
  • 173
  • 214
1
vote
1 answer

Chainsaw log format pattern syntax

We have a log4j file that has the following pattern: @|%d{yyyy-MM-dd HH:mm:ss.SSS}|%X{Machine}|%X{CorrelationId}|%X{Sender}|%X{Receiver}|%-5p|%X{Runtime}|%X{ClientUser}|%c|%M|%L|%m%n I created a LogFilePatternReceiver with the following…
dertoni
  • 1,763
  • 2
  • 24
  • 47
0
votes
1 answer

Cann't receive REMOTE host log messages with Chainsaw (localhost messages just OK)

I did a logger with programmatically configured SocketAppender for Chainsaw. I successfully receive messages in the SimpleReceiver of Chainsaw from code running on localhost, but from remote host i'm just getting like 63 Fri Sep 23 14:44:08…
WebComer
  • 1,131
  • 2
  • 19
  • 31
0
votes
1 answer

Log4r and Chainsaw: gathering additional log message details (line number, etc.)?

I'm using Log4r's Log4j XML formatter to talk to Chainsaw as described here in Log4r's manual. However, basically all I'm getting is the message and warning level -- I'm not getting the additional details that seem to be shown there. Here's the…
Joseph Weissman
  • 5,697
  • 5
  • 46
  • 75
0
votes
4 answers

How to work with logfiles

Usually I pipe my log through a lot of greps to remove the "noise" before i open it in an editor. I think it should be possible to do this filtering inside an editor (Especially Emacs) Is this what chainsaw is doing? For log4j…
Olav
  • 1,758
  • 4
  • 27
  • 49