logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jessica Lin" <j...@akonix.com>
Subject chainsaw view remote log file
Date Tue, 11 Dec 2007 00:06:35 GMT

Hello,

 

My web page contains a list of log files stored on  the remote server.
When the user selects one of the file, the Chainsaw will be launched
through web start link, the selected log file will be display inside the
tab. My questions are:

 

1.       How to automatically pass in the selected log file? Here is my
configuration file:

<log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/"
debug="true">

	<plugin
name="fileReceiver"class="org.apache.log4j.varia.LogFilePatternReceiver"
>
		<param name="fileURL" value="??? file path and name on
the server ???"/>
		<param name="timestampFormat" value="yyyy-MM-dd
HH:mm:ss,SSS"/>
		<param name="logFormat" value="[THREAD] TIMESTAMP LEVEL
LOGGER - MESSAGE"/>
		<param name="name" value="testLog"/>
		<param name="tailing" value="true"/>
	</plugin>

	<root>
		<level value="debug"/>
	</root>

</log4j:configuration>

 

2.       How can I use one instance of Chainsaw to display multiple log
file tabs?  

 

 

Thanks,

Jessica

 


---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-user-help@logging.apache.org


Mime
View raw message