Hi
I have made a few mod's to the SocketAppender. You can now specify an additional
optional parameter
called 'dumpFilename' which gets written to when a connection cannot be established to
the
SocketServer.
For example:
<appender name="SOCKSERV" class="com.db.gmr.core.log.SocketAppender">
<param name="remoteHost" value="hostname.srv.uk.deuba.com"/>
<param name="port" value="2002"/>
<param name="reconnectionDelay" value="10000"/>
<param name="locationInfo" value="false"/>
<param name="dumpFilename"
value="/export/home/ramsni/EDSRepos/EDSRuntime/logs/dumpFile.log"/>
</appender>
(See attached file: SocketAppender.java)
I apologise for the fact that the package is a non-apache one.
Thanks
Nigel
--
Nigel Ramsay [EMAIL PROTECTED]
Enterprise Java Consultant +44 20 7545 1590
Global Markets Research
Deutsche Bank
London, UK
--
This e-mail may contain confidential and/or privileged information. If you are not the
intended recipient (or have received this e-mail in error) please notify the sender
immediately and destroy this e-mail. Any unauthorized copying, disclosure or
distribution of the material in this e-mail is strictly forbidden.
SocketAppender.java
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]