python-apt output does not go to log file
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Jockey |
Invalid
|
Medium
|
Unassigned | ||
jockey (Ubuntu) |
Fix Released
|
Undecided
|
Martin Pitt |
Bug Description
To get debug logging to track down problems one can restart Jockey in debug mode:
sudo killall jockey-backend
sudo /usr/share/
Jockey is now supposed to do a more verbose console output and redirect it to /tmp/jockey.log.
As Jockey is supposed to log into the given file and therefore not having console output, I have started Jockey to run in the background (the "&" in the end). So I can run client programs to do the actual test in the same terminal.
Now Jockey works as usual until it comes to installing or uninstalling a package. The console output (stdout, stderr) of apt-get and/or dpkg is not redirected into the file but still goes to the console. This makes the background process hanging until one takes it back to the foreground with the "fg" command.
Jockey should also redirect the output of sub programs to the log file, so that it runs smoothly in the background and also problems of the sub programs get captured.
Changed in jockey: | |
assignee: | nobody → pitti |
Changed in jockey: | |
importance: | Undecided → Medium |
status: | New → Triaged |
This affects both upstream bits, as well as the apt handler, thus adding ubuntu task as well.