Merge "Fix greping of the journalctl log for neutron notification line"
This commit is contained in:
commit
259c5246b3
@ -91,8 +91,8 @@ class JournalLogDigger(LogFileDigger):
|
||||
try:
|
||||
result = sh.execute(["journalctl", '--no-pager',
|
||||
"--unit", self.filename,
|
||||
"--since", "5 minutes ago",
|
||||
'--grep', pattern],
|
||||
"--since", "30 minutes ago",
|
||||
'--grep', "'%s'" % pattern],
|
||||
**self.execute_params)
|
||||
except sh.ShellCommandFailed as ex:
|
||||
if ex.stdout.endswith('-- No entries --\n'):
|
||||
|
Loading…
Reference in New Issue
Block a user