You should be able to do that by adding a log4j.xml file to the 'bundle' the user downloads (make sure the directory holding the log4j.xml config file is in the classpath for Chainsaw).
Scott Deboy Principal Engineer COMOTIV SYSTEMS 111 SW Columbia Street Ste. 950 Portland, OR 97201 Telephone: 503.224.7496 Cell: 503.997.1367 Fax: 503.222.0185 [EMAIL PROTECTED] www.comotivsystems.com -----Original Message----- From: Judd Taylor [mailto:[EMAIL PROTECTED] Sent: Monday, October 30, 2006 12:37 PM To: Log4J Users List Subject: RE: Startup parameters for chainsaw Thanks Scott. Is there a way I can set this up system-wide, rather than for each user? If I could specify the receiver file from the command line, then I could just set up a system wide alias, or plug it into a script. I'd rather not have to modify the way the system creates users (the mod would be to do the normal user creation, then generate a suitable settings.xml file for them). Thanks again, Judd On Mon, 2006-10-30 at 11:53 -0800, Scott Deboy wrote: > Yes, you can launch Chainsaw from the command line. > > You can also have Chainsaw automatically load a receiver config file on > startup. > > Launch from command line: > > Chainsaw's home page > (http://logging.apache.org/log4j/docs/chainsaw.html) provides a Unix/dos > standalone version (includes .sh and .bat files) and Mac OSX dmg. If > you expand the chainsaw-bundle.zip file, you'll see the .bat file there. > > Give users a configuration that will auto-load a receiver: > > Chainsaw's settings files are all stored in $user.home/.chainsaw. The > 'configurationURL' node in chainsaw.settings.xml contains the URL that > will be auto-loaded on Chainsaw start. Copy a version of this file to > each user's $user.home/.chainsaw directory and when they run Chainsaw, > it will load it automatically. > > > Scott Deboy > Principal Engineer > COMOTIV SYSTEMS > 111 SW Columbia Street Ste. 950 > Portland, OR 97201 > Telephone: 503.224.7496 > Cell: 503.997.1367 > Fax: 503.222.0185 > [EMAIL PROTECTED] > www.comotivsystems.com > > > -----Original Message----- > From: Judd Taylor [mailto:[EMAIL PROTECTED] > Sent: Monday, October 30, 2006 11:08 AM > To: Log4J Users List > Subject: Startup parameters for chainsaw > > I'm trying to integrate chainsaw as the log viewer for a system we're > putting together. Our users are not familiar with chainsaw, so I'm > looking to make it as easy as possible for them. > > Is there some way I can start chainsaw from the command line and have it > automatically load up a receiver from and XML file? > > > -Judd > > > > > -- ____________________________ Judd Taylor Software Engineer Orbital Systems, Ltd. 8304 Esters Blvd, Suite 870 Irving, TX 75063-2209 [EMAIL PROTECTED] (469) 442-1767 x127 --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
