You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-user@logging.apache.org by Nigel Ramsay <ni...@db.com> on 2001/09/04 16:14:43 UTC

Contrib: Enable DOMConfigurator & watching in SimpleSocketServer

Hi

I've just done a few small mods to the SimpleSocketServer, and I thought other users may find the changes useful:

1. Allow configuration with an XML based config file.
2. Enable "configureAndWatch" functionality.

The command line usage is:

java org.apache.log4j.net.SimpleSocketServer port arguments
where port is a port number where the server listens and
arguments
   -p configfile         file sent to PropertyConfigurator
   -x configfile         file sent to DOMConfigurator
   -h                          help


(See attached file: SimpleSocketServer.java)

Thanks

Nigel

--

Nigel Ramsay                                      nigel.ramsay@db.com
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.