logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nigel Ramsay" <nigel.ram...@db.com>
Subject Contrib: Enable DOMConfigurator & watching in SimpleSocketServer
Date Tue, 04 Sep 2001 14:14:43 GMT


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
   -p configfile         file sent to PropertyConfigurator
   -x configfile         file sent to DOMConfigurator
   -h                          help

(See attached file: SimpleSocketServer.java)




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.

View raw message