Apache OpenOffice (AOO) Bugzilla – Issue 121216
Logger overwrites always the same file
Last modified: 2017-05-20 10:32:11 UTC
The current configuration for loggers (org.openoffice.Office.Logging) only allows in the FileURL substitution of variables understood by the PathSubstitution service, and the logger name. This results always in the same file name, thus being the file always overwritten. There might be components wanting to create a unique logger file name, not overwritten in the next office run.
"arielch" committed SVN revision 1398194 into trunk: #i121216# - Allow unique logger file name
Fixed by adding the following additional variables: $(date) - the current date $(time) - the current time $(datetime) - the current date time $(pid) - the process identifier These can be used in the FileURL to generate a file name that is likely never going to be overwritten: "$(userurl)/$(loggername)-$(date).$(time)-$(pid).log"
.