mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 21:55:25 +00:00
util: escapes special characters in VIR_LOG_REGEX
In debug mode, the bug failed to start vm error: Failed to start domain rhel5u9 error: internal error Out of space while reading console log output: ...
This commit is contained in:
parent
3eefaccd47
commit
eb086eb5b5
@ -80,7 +80,7 @@ static regex_t *virLogRegex = NULL;
|
||||
|
||||
|
||||
#define VIR_LOG_DATE_REGEX "[0-9][0-9][0-9][0-9]-[0-9][0-9]-[0-9][0-9]"
|
||||
#define VIR_LOG_TIME_REGEX "[0-9][0-9]:[0-9][0-9]:[0-9][0-9].[0-9][0-9][0-9]+[0-9][0-9][0-9][0-9]"
|
||||
#define VIR_LOG_TIME_REGEX "[0-9][0-9]:[0-9][0-9]:[0-9][0-9]\\.[0-9][0-9][0-9]\\+[0-9][0-9][0-9][0-9]"
|
||||
#define VIR_LOG_PID_REGEX "[0-9]+"
|
||||
#define VIR_LOG_LEVEL_REGEX "debug|info|warning|error"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user