Ticket #196 (closed enhancement: fixed)
Use standard logging facilities
|Reported by:||kparal||Owned by:||mkrizek|
Description (last modified by kparal) (diff)
Currently our watchers and the main autoqa script print all debug/error messages to standard (error) output. If it is run via cron, error output is sent to root. But there's no log of it. We should change that. We should use syslog and print all our messages to /var/log/autoqa.log or similar file (we can put there a lot of debug messages which can help resolve possible problems in the future).
So let's examine standard python logging capabilities and use them if possible.
We don't probably need to adjust tests, because tests are executed on clients and everything is perfectly logged and stored by autotest. Therefore this concerns just watchers/autoqa script I think.
- Description modified (diff)
- Summary changed from Log failed job scheduling to Use standard logging facilities
- Priority changed from major to minor
- Milestone set to 0.4.4