[wpkg-users] [Bug 128] WPKG 1.0.2 overwrites logs on every startup
bugzilla-daemon at bugzilla.wpkg.org
bugzilla-daemon at bugzilla.wpkg.org
Mon Sep 1 09:43:10 CEST 2008
http://bugzilla.wpkg.org/show_bug.cgi?id=128
Falko Trojahn <ftrojahn at smi-softmark.de> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |ftrojahn at smi-softmark.de
Status|NEW |RESOLVED
Resolution| |WORKSFORME
--- Comment #1 from Falko Trojahn <ftrojahn at smi-softmark.de> 2008-09-01 09:42:57 ---
Thanx for your bug report, but this is intended behaviour.
You have 2 options here:
* change logfilepattern in config.xml or on command line e.g. to:
<param name='logfilePattern' value='HOSTNAME]-[YYYY]-[MM]-[DD]-[hh]-[mm].log'
/>
or - simulating simple log rotation - use:
<param name='logfilePattern' value='HOSTNAME]-[mm].log' />
* use 1.1.0-M6 testing release with logAppend parameter in config.xml or on
command line:
<param name='logAppend' value='true' />
See documentation in config.xml:
****************************************************************************
* Append log files instead of overwriting existing files.
* NOTE: You can specify a log file pattern which will create a new file on
* each run. Appending logs might cause problems with some log rotation
* scripts as well. So use it with caution.
*
* Default value : "false"
* Command-line switch: /logAppend
****************************************************************************
****************************************************************************
* Pattern to generate the log file name.
* Recognized patterns:
* [HOSTNAME] replaced by the executing hostname
* [PROFILE] replaced by the applying profile name
* [YYYY] replaced by year (4 digits)
* [MM] replaced by month number (2 digits)
* [DD] replaced by the day of the month (2 digits)
* [hh] replaced by hour of the day (24h format, 2 digits)
* [mm] replaced by minute (2 digits)
* [ss] replaced by second (2 digits)
*
* Examples:
* "wpkg-[YYYY]-[MM]-[DD]-[HOSTNAME].log"
* results in a name like "wpkg-2007-11-04-myhost.log"
* NOTE: Using [PROFILE] causes all messages before reading or profiles.xml
* to be temporarily written to local %TEMP% folder. So they might
* appear on the final log file with some delay.
* Default value : "wpkg-[HOSTNAME].log"
* Command-line switch: /logfilePattern:<pattern>
*
* Note:
* The default pattern allows tracing of last execution without polluting
* the log directory. Subsequent executions will overwrite the same log file.
****************************************************************************
For additional information about logging, search mailing list archive for e.g.
"append logging".
--
Configure bugmail: http://bugzilla.wpkg.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
More information about the wpkg-users
mailing list