|
From: Leif M. <le...@ta...> - 2004-05-15 20:24:28
|
Alphonse,
The wrapper logfile's location is controlled by the wrapper.logfile
property
and its log level is controlled by the wrapper.logfile.loglevel
property. If the
logfile log level is too high then no logging will be made to the log file.
The log file will be written relative to the location of the
wrapper.exe file
so it should be working if it was working when run as a console application.
If it fails to be written for any reason then it will fall back to the
location of
the wrapper.exe. If that fails as well then it will write to the
current directory.
When run as an NT service, this will be the windows system32 directory.
The directory that you have specified looks correct so I doubt it is
a path
problem. Another reason that I have seen is a permission problem. When
running as an NT service the Wrapper will by default run as the System user.
Make sure that you have not configured the wrapper's log directory is such
a way that that user does not have write access.
Cheers,
Leif
Alphonse Bendt wrote:
> hello all,
>
> when running my app as a NT service i can't find the logfile.
>
> if i start the application in the console the logfile is written as
> expected therefor i think my configuration is correct.
>
> [...]
> # Log Level for console output. (See docs for log levels)
> wrapper.console.loglevel=INFO
>
>
> # Log file to use for wrapper output logging.
> wrapper.logfile=../NotifyService-Wrapper.log
> [...]
>
> then i delete the logfile and start the app as NT service.
>
> the service starts successfully. unfortunately the logfile does not
> appear in the location where i expect it.
>
> i did search the diskdrive for the logfile but was unable to find it.
>
> Did i miss some configuration option?
>
> OS: Win XP
> Wrapper version: 3.1.0
> JDK: 1.4.2_03
>
> best regards,
> alphonse
>
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by: SourceForge.net Broadband
> Sign-up now for SourceForge Broadband and get the fastest
> 6.0/768 connection for only $19.95/mo for the first 3 months!
> http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click
> _______________________________________________
> Wrapper-user mailing list
> Wra...@li...
> https://lists.sourceforge.net/lists/listinfo/wrapper-user
>
|