Issue 79831 - unopkg <command> --log-file <file> should actually log something
Summary: unopkg <command> --log-file <file> should actually log something
Status: ACCEPTED
Alias: None
Product: General
Classification: Code
Component: code (show other issues)
Version: current
Hardware: All All
: P4 Trivial (vote)
Target Milestone: AOO Later
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-07-20 14:03 UTC by joerg.skottke
Modified: 2013-02-07 22:02 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description joerg.skottke 2007-07-20 14:03:34 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 ######
Comment 1 joachim.lingner 2007-08-27 15:04:42 UTC
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.
Comment 2 gneko 2008-11-27 15:53:32 UTC
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
Comment 3 Oliver Brinzing 2010-10-20 17:25:01 UTC
.