Closed Bug 1059972 Opened 10 years ago Closed 9 years ago

runner should log in a more standard format

Categories

(Release Engineering :: General, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: bhearsum, Assigned: mrrrgn)

Details

Eg, prepending at least the day/time to each line. Maybe the log level too.
Assignee: nobody → winter2718
so, runner is running with -v now, and that will produce timestamps and log level messages like this: 2015-03-24 16:34:13,632 - DEBUG - 1-say-bar.py: OK
2015-03-24 16:34:13,633 - DEBUG - reflect.py: starting (max time 600s)

But it won't add anything to the standard output of programs that are launched. I think the issue with doing that, is that we may end up running utilities with runner that already produce log formatted output. In that case we'll end up with two layers of log messages.

I'll consider adding a task level option (for the runner config file) that optionally adds log formatting to the stdout of a utility.
Adding "-v" to the log output has fixed this.
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Component: Tools → General
You need to log in before you can comment on or make changes to this bug.