Merge lp:~javier.collado/utah/bug1162862 into lp:utah
Proposed by
Javier Collado
Status: | Merged | ||||
---|---|---|---|---|---|
Approved by: | Javier Collado | ||||
Approved revision: | 853 | ||||
Merged at revision: | 854 | ||||
Proposed branch: | lp:~javier.collado/utah/bug1162862 | ||||
Merge into: | lp:utah | ||||
Diff against target: |
43 lines (+12/-1) (has conflicts) 2 files modified
debian/changelog (+4/-0) utah/provisioning/rsyslog.py (+8/-1) Text conflict in debian/changelog |
||||
To merge this branch: | bzr merge lp:~javier.collado/utah/bug1162862 | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Andy Doan (community) | Approve | ||
Javier Collado (community) | Needs Resubmitting | ||
Review via email: mp+156368@code.launchpad.net |
Description of the change
This change is intended to write to log:
- The pattern that matched (to make sure about what pattern of all the possible
ones matched)
- The error message when a timeout happens (to get the timestamp of when that
happened)
This is expected to make easier to troubleshoot timeout problems.
To post a comment you must log in.
> === modified file 'utah/provision ing/rsyslog. py' ng/rsyslog. py 2013-03-29 17:00:50 +0000 ng/rsyslog. py 2013-04-01 16:25:27 +0000 warn(msg, match) forward( steps, match, callbacks) info('Matched pattern {!r} for {!r} message'
> --- utah/provisioni
> +++ utah/provisioni
> @@ -154,6 +154,9 @@
> msg = 'Expected pattern missed, matched future pattern: %s'
> self.logger.
> x = self._fast_
> + else:
> + self.logger.
> + .format(match, message))
make this: info('Matched pattern %s for %s message',
match, message)
+ self.logger.