> Hi Scott,
> Thanks for the response, I have downloaded the VFS + commons necessary
> files and now it works fine, with this method I can display the remote
> log files in Chainsaw.
> I have another question regarding Chainsaw, I would appreciate if you
> could give some feedback on this cause I see no light there! :-(
> I was wondering if is possible to launch Chainsaw remotely using Java
> Web Start, I have tested that but for some reason I do not know if I
> launch Chainsaw as standalone in the remote server the messages are
> received well and port 4445 is listening to new SocketReceiver
> messages but if I launch the same Chainsaw using a JNLP file then port
> 4445 is not open and is not listening so new messages cannot be
> received by Chainsaw.
> Have you tried that in the past? From the mailing lists it seems it
> should work but I have no idea of what is happening, hete is my
> Chainsaw config file for that:
> <?xml version="1.0" encoding="UTF-8" ?>
> <!DOCTYPE log4j:configuration PUBLIC "-//log4j/log4j
> Configuration//EN" "log4j.dtd">
> <log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/"
> <plugin name="SocketReceiver"
> <param name="active" value="false"/>
> <param name="name" value="TestSocketReceiver" />
> <param name="port" value="4445" />
> <appender name="RollingAppender"
> <param name="File" value="/home/project/test.log"/>
> <param name="Append" value="true"/>
> <param name="MaxFileSize" value="20000KB"/>
> <param name="MaxBackupIndex" value="400"/>
> <layout class="org.apache.log4j.PatternLayout">
> <param name="ConversionPattern" value="%d | %-5r | %-5p | %c |
> %t:%x | %m%n"/>
> <level value="debug"/>
> <appender-ref ref="RollingAppender"/>
> <logger name="org.apache.log4j">
> <level value="off"/>
> And this is my log4j config file for sending messages to the receiver:
> # Set root logger level to DEBUG and its only appender to ConsoleAppender.
> # ConsoleAppender
> # Pattern to output the caller's file name and line number.
> log4j.appender.stdout.layout.ConversionPattern=%5p [%t] (%F:%L) - %m%n
> # A1 is set to be a SocketAppender sending its output to the server
> running on the remote host, port 4445
> Any ideas?
> 2009/9/1, Scott Deboy <scott.deboy@gmai...>:
> > Here is a link describing what you need to install to use VFS in
> > http://logging.apache.org/chainsaw/distributionnotes.html > >
> > Scott
> > On Tue, Sep 1, 2009 at 5:58 AM, Moley Harey <moleyharey@gmai...>
> >> Hi folks,
> >> As still I could not work properly with chainsaw using Java Web Start, I
> >> was
> >> thinking about a workaround solution which is the use the
> >> "VFSLogFilePatternReceiver" to access a remote log file and display it
> >> into
> >> Tomcat.
> >> The problem is that I have downloaded the standalone version of Chainsaw
> >> from the web and it seems I do not have that package
> >> "org.apache.log4j.chainsaw.vfs.VFSLogFilePatternReceiver" in any of the
> >> *.jar I downloaded, this is the full list of libraries I have:
> >> jakarta-oro-2.0.6.jar
> >> jmdns.jar
> >> log4j-1.3alpha-7.jar
> >> log4j-chainsaw-2.0alpha-1.jar
> >> log4j-optional-1.3alpha-7.jar
> >> log4j-oro-1.3alpha-7.jar
> >> log4j-smtp-1.3alpha-7.jar
> >> log4j-xml-1.3alpha-7.jar
> >> log4j-zeroconf.jar
> >> xstream-1.1.2.jar
> >> To create a VFSLogFilePatternReceiverdo I have to install some extra
> >> to Chainsaw?
> >> Thanks in advance,
> >> Mh
> To unsubscribe, e-mail: log4j-user-unsubscribe@logg... > For additional commands, e-mail: log4j-user-help@logg... >