logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chitnis, Pooja" <Pooja_Chit...@BMC.com>
Subject VFSLogFilePatternRaceiver using HTTP protocol to view log files
Date Mon, 13 Oct 2008 10:23:47 GMT
Hi,

 

I am trying to use the VFSLogFilePatternRaceiver to view the remote log
file using the HTTP protocol

Following is the receiver config 

 

<plugin name="VFSLogFilePatternReceiverWithUserInfoPrompt"
class="org.apache.log4j.chainsaw.vfs.VFSLogFilePatternReceiver">

     <param name="fileURL" value="
http://<hostname>:8080/log/repository/log4j2.log"/>

     <param name="timestampFormat" value="yyyy-MM-dd HH:mm:ss,SSS"/> 

     <param name="logFormat" value="TIMESTAMP LEVEL [LOGGER] MESSAGE"/> 

     <param name="name" value="sampleLogFilePatternReceiver"/>

     <param name="promptForUserInfo" value="true"/>

     <param name="tailing" value="true"/> 

   </plugin>

 

Chainsaw don't show me any tab for this receiver. There are no errors
except for the following messages:

 
1. attempting to load file <file url>
 

 


2. Using "C:\DOCUME~1\<user>\LOCALS~1\Temp\vfs_cache" as temporary files
store

 

3. file not available - will try again in 10 seconds
 

 

I have included all required jars under Docume~1/user/.chainsaw/plugins
directory. 

commons-httpclient-3.1.jar

commons-logging-1.1.1.jar

commons-logging-1.1.1-javadoc.jar

commons-logging-1.1.1-sources.jar

commons-logging-adapters-1.1.1.jar

commons-logging-api-1.1.1.jar

commons-logging-tests.jar

commons-vfs-20070823.jar

jakarta-oro-2.0.6.jar

log4j-chainsaw-vfs.jar

 

And also have ticked the "Ok to Remove SecurityManager".

 

Any idea what is the reason Chainsaw couldn't locate the file? Am I
missing something?

Why is it looking for a temporary file store ?

 

Thanks & Regards,

Pooja Chitnis

 

 

Thanks & Regards,

Pooja Chitnis

 


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message