[wpkg-users] [Bug 234] Additional command line parameters /noquiet /notify etc
Malte Starostik
lists at malte.homeip.net
Tue Sep 6 10:40:27 CEST 2011
Am Dienstag, 30. August 2011, 15:21:52 schrieb Malte Starostik:
> Am Samstag, 27. August 2011, 00:48:20 schrieb bugzilla-
>
> daemon at bugzilla.wpkg.org:
> > MOD: Updated log file handling. Now there is no intermediate local log
> > file
> >
> > created any more. Instead a log is kept in memory as long as the log
> >
> > file is not initialized. If anything goes wrong WPKG still tries to flush
> > the logs at least to a log file in %TEMP%.
> >
> > This potentially increases efficiency and execution speed slightly.
>
> This unfortunately causes a line like this to appear for every run, i.e.
> whenever a client starts up:
>
> 2011-08-30 15:10:48, DEBUG : WPKG 1.2.1-RC10 starting...
Plus "Reading XML file: ..."
> due to the logLevelDefault of 0xff. We're using
> [HOSTNAME]-[YYYY][MM][DD][hh] [mm][ss].wpkg.log as logfilePattern, so this
> causes an unwanted file to be created every time and fills up our
> reporting tool. If this is intended behaviour, I'll have to work around
> this. Otherwise, well, maybe the log buffer needs to be an array of some
> object that includes the entry's level for later filtering.
Also now a log file is apparently created on every run, even when there's
nothing to be written to it. I commented out the lines that result int the
lines mentioned above but it's still creating empty log files.
Regards,
Malte
More information about the wpkg-users
mailing list