-
1. Re: Please brief me the steps involved in using chainsaw to
gshekar Jan 27, 2005 1:28 PM (in response to gshekar)Hi,
After finding how to use Chainsaw, thought posting the steps might be be useful for others.
It was possible with SocketHubAppender and SocketHubReceiver.
I haved added the following configuration section for SocketHubAppender in ${JBOSS_HOME}/server/default/conf/log4j.xml. Also I have configured the root category for SocketHubAppender.
<!-- ============================= -->
<!-- Append messages to the socket -->
<!-- ============================= -->
.
.
.
.
.
<appender-ref ref="SOCKET"/>
<appender-ref ref="CONSOLE"/>
<appender-ref ref="FILE"/>
We can now configure a SocketHubReceiver in Chainsaw on our laptop to connect to the Jboss logs running on some unix server on port 8888. -
2. Re: Please brief me the steps involved in using chainsaw to
gshekar Jan 27, 2005 1:31 PM (in response to gshekar)I don't know whey the xml is getting ripped when I post the reply. Trying to comment the xml stuff and post.
<!-- ============================= -->
<!-- Append messages to the socket -->
<!-- =============================
.
.
.
.
.
<appender-ref ref="SOCKET"/>
<appender-ref ref="CONSOLE"/>
<appender-ref ref="FILE"/>
--> -
3. Re: Please brief me the steps involved in using chainsaw to
gshekar Jan 27, 2005 1:32 PM (in response to gshekar)I don't know whey the xml is getting ripped when I post the reply. Disabling BBCode in this post.
<!-- ============================= -->
<!-- Append messages to the socket -->
<!-- ============================= -->
.
.
.
.
.
<appender-ref ref="SOCKET"/>
<appender-ref ref="CONSOLE"/>
<appender-ref ref="FILE"/> -
4. Re: Please brief me the steps involved in using chainsaw to
gshekar Jan 27, 2005 1:34 PM (in response to gshekar)Sorry... I don't know how to post the XML in message body.
-
5. Re: Please brief me the steps involved in using chainsaw to
sysuser1 Jan 27, 2005 2:43 PM (in response to gshekar)use code tags like [ c o d e ] <your xml> [ / c o d e] so it will look like
<your xml>
I used spaces so that you can see the text... you can preview your posting before submitting
HTH
VM -
6. Re: Please brief me the steps involved in using chainsaw to
gshekar Jan 27, 2005 3:06 PM (in response to gshekar)<!-- ============================= --> <!-- Append messages to the socket --> <!-- ============================= --> <appender name="SOCKET" class="org.apache.log4j.net.SocketHubAppender"> <param name="Port" value="8888"/> <param name="Threshold" value="INFO"/> </appender> . . . . . <root> <appender-ref ref="SOCKET"/> <appender-ref ref="CONSOLE"/> <appender-ref ref="FILE"/> </root>