Apache OpenOffice (AOO) Bugzilla – Issue 79831
unopkg <command> --log-file <file> should actually log something
Last modified: 2013-02-07 22:02:52 UTC
When using unopkg with the option --log-file the information logged is insufficient - most of the logs only consist of a timestamp. Currently only add, reinstall and remove are logged. Possible fixes: - Either make make the log more verbose by default or - use the already available -v (--verbose) option available for logging as well. Sample of a pretty useless logged session: ###### Progress log entry 2007-07-20 14:58:49 ###### ###### Progress log entry 2007-07-20 14:58:50 ###### ###### Progress log entry 2007-07-20 14:58:50 ###### ###### Progress log entry 2007-07-20 14:58:50 ###### ###### Progress log entry 2007-07-20 14:58:50 ###### ###### Progress log entry 2007-07-20 14:58:50 ###### ###### Progress log entry 2007-07-20 14:58:51 ###### ###### Progress log entry 2007-07-20 14:58:51 ###### Reinstalling all deployed packages... ###### Progress log entry 2007-07-20 14:58:51 ###### ###### Progress log entry 2007-07-20 14:58:51 ###### ###### Progress log entry 2007-07-20 14:58:51 ###### ###### Progress log entry 2007-07-20 14:58:52 ###### Copying: plain.oxt Enabling: plain.oxt Enabling: t.rdb ###### Progress log entry 2007-07-20 14:58:52 ###### ###### Progress log entry 2007-07-20 14:58:52 ###### Reinstalling all deployed packages... Enabling: plain.oxt Enabling: t.rdb ###### Progress log entry 2007-07-20 14:58:52 ###### ###### Progress log entry 2007-07-20 14:58:52 ###### Disabling: plain.oxt Disabling: t.rdb ###### Progress log entry 2007-07-20 14:58:53 ###### ###### Progress log entry 2007-07-20 14:58:53 ###### ###### Progress log entry 2007-07-20 14:58:53 ###### ###### Progress log entry 2007-07-20 14:58:53 ###### ###### Progress log entry 2007-07-20 14:58:53 ###### ###### Progress log entry 2007-07-20 14:58:54 ###### ###### Progress log entry 2007-07-20 14:58:54 ######
Actually one would have to decided what kind of events are worth logging. If you feel that there is some important event, submit a separate issue. I will have a look if this ###### Progress log entry 2007-07-20 14:58:49 ###### can be replaced by something more sensible.
If an error occurs during installation of a package the resulting log doesn't report it. COMMAND: unopkg add -v --log-file pippo.txt it.saga.finanziaria.extern-1.0.0.oxt SHELL OUTPUT: Raising process: file:///C:/Programmi/OpenOffice.org%202.4/program/soffice Arguments: -nologo -nodefault -accept=pipe,name=77c8cb8dea73259ae9f71264157d241e3363ce60e6455d0f540306e1594d016;urp; Ok. Connecting...Ok. Copia in corso: it.saga.finanziaria.ext ERROR: (com.sun.star.deployment.VersionException) { { Message = "L'estensione \X00e8 gi\X00e0 stata aggiunta: org.openoffice.legacy.it.saga.finanziaria.extern-1.0.0.oxt", Context = (com.sun.star.uno.XInterface) @9a529c }, New = (com.sun.star.deployment.Xern-1.0.0.oxt Package) @9a7a6c, Deployed = (com.sun.star.deployment.XPackage) @9a79bc } unopkg failed. RESULTING LOG: ###### Progress log entry 2008-11-27 16:50:21 ###### Copia in corso: it.saga.finanziaria.extern-1.0.0.oxt
.