diff options
author | Thomas Haller <thaller@redhat.com> | 2018-10-23 12:03:59 +0200 |
---|---|---|
committer | Thomas Haller <thaller@redhat.com> | 2018-10-23 12:03:59 +0200 |
commit | 6978558e8c3adb518b07988a5de5bf52fa8bc260 (patch) | |
tree | 8e08e83a629dd9c49d000a6928e82b5b0eb30f14 | |
parent | 43955828c09cad7fe4b4822acd38978fcfa7a4a3 (diff) | |
download | NetworkManager-6978558e8c3adb518b07988a5de5bf52fa8bc260.tar.gz |
contrib: adjust NM-log for changes to platform logging
Fixes: 8f107f5c00258c7a4fb780a25f299af6f116f575
-rwxr-xr-x | contrib/scripts/NM-log | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/scripts/NM-log b/contrib/scripts/NM-log index 49e187bae6..af33dfb7ee 100755 --- a/contrib/scripts/NM-log +++ b/contrib/scripts/NM-log @@ -37,8 +37,8 @@ NM-colorize() { sed 's/\r$//' | \ GREP_COLOR='01;31' grep -a --color=always '^\|^\(.* \)\?<\(warn> \|error>\) \[[0-9.]*\]' | \ GREP_COLOR='01;33' grep -a --color=always '^\|^\(.* \)\?<info> \[[0-9.]*\]\( .*\<is starting\>.*$\)\?' | \ - GREP_COLOR='01;37' grep -a --color=always '^\|\<platform: signal: .*$' | \ - GREP_COLOR='01;34' grep -a --color=always '^\|\<platform\(-linux\)\?: link: \(add\|adding\|change\|setting\|deleting\) \|\<platform: address: \(deleting\|adding or updating\) IPv. address:\? \|\<platform: \(route\|ip4-route\|ip6-route\|qdisc\|tfilter\): \([a-z]\+\|adding or updating\|new\[0x[0-9A-Za-z]*\]\) \|\<platform-linux: sysctl: setting ' | \ + GREP_COLOR='01;37' grep -a --color=always '^\|\<platform:\( (.*)\)\? signal: .*$' | \ + GREP_COLOR='01;34' grep -a --color=always '^\|\<platform\(-linux\)\?:\( (.*)\)\? link: \(add\|adding\|change\|setting\|deleting\) \|\<platform:\( (.*)\)\? address: \(deleting\|adding or updating\) IPv. address:\? \|\<platform:\( (.*)\)\? \(route\|ip4-route\|ip6-route\|qdisc\|tfilter\): \([a-z]\+\|adding or updating\|new\[0x[0-9A-Za-z]*\]\) \|\<platform-linux: sysctl: setting ' | \ GREP_COLOR='01;35' grep -a --color=always '^\|\<audit: .*$' | \ GREP_COLOR='01;32' grep -a --color=always '^\|\<device (.*): state change: ' | if [[ "$NM_LOG_GREP" != "" ]]; then |