|
From: Alex V. <ale...@ap...> - 2004-02-16 21:27:02
|
Hi All,
My application is using its own logging component, built as a jdk1.4 =
style
log handler (@see jdk1.4 logging APIs). Thus, when I run as an NT =
service
using the (really cool I must say) wrapper, I end-up with two different =
log
systems.
I was wondering if there was a way to intercept/redirect all messages =
logged
by the wrapper, including the System.out and System.err. If not, would
support for jdk1.4 logging APIs be considered a legitimate enhancement
request?=20
Also, if I redirect the System.err and System.out in my listener, am I =
going
to intercept all messages logged by the wrapper?
Rgrds, Alex.
PS: Thanks for the 'set.PATH' hint; works jut fine for me.
-----Original Message-----
From: wra...@li...
[mailto:wra...@li...] On Behalf Of Leif
Mortenson
Sent: Saturday, February 14, 2004 10:39 AM
To: wra...@li...
Subject: Re: [Wrapper-user] DLL Issue
Alex,
It is possible to modify the environment variables within the=20
Wrapper processs
along with its JVM by defining the following property in the=20
wrapper.conf file.
set.PATH=3D%PATH%;AdditionalPathInfo
The set.x syntax allows you to set any environment variable.
Cheers,
Leif
Alex V. wrote:
> Hi,
> =20
> Here is a question: I need to ammend the value of the PATH environment
> variable when the service starts. Is it possible to configure the=20
> wrapper so that it executes with a given set of windows environment=20
> variables ? Is there a hook anywhere to tweek the windows environment=20
> variables when the service start ?
> =20
> Thanks, Alex.
> =20
> =20
-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=3D1356&alloc_id=3D3438&op=3Dclick
_______________________________________________
Wrapper-user mailing list
Wra...@li...
https://lists.sourceforge.net/lists/listinfo/wrapper-user
|