Re: reggie logging question

Gregg Wonderly <[email protected]>
Newsgroups gmane.comp.java.sun.jini
Message-ID <[email protected]>
Rikard Elofsson wrote:
> I'm starting reggie via ServiceStarter. How do i set logging properties
> for it? (Seems to me it uses a ConsoleHandler default).

The JVM logging configuration will work to control reggie logging.  So, you can
just put on the service starter JVM command line

        -Djava.util.logging.config.file=path/to/logging.properties

and you should be good to go.  You might look at the
com.sun.jini.logging.LogManager and set that as the logging manager to have the
ability to edit the log file and have configuration changes apply when you write
out the file.

You might also look at some of the logging oriented project at
http://jini.dev.java.net which provide different features related to remote
logging and remote logging configuration and monitoring.

Gregg Wonderly

--------------------------------------------------------------------------
Getting Started:     http://www.jini.org/wiki/Category:Getting_Started
Community Web Site:  http://jini.org
jini-users Archive:  http://archives.java.sun.com/archives/jini-users.html
Unsubscribing:       email "signoff JINI-USERS"  to [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.