diff options
author | Stuart Cardall <developer@it-offshore.co.uk> | 2017-04-02 15:37:04 +0000 |
---|---|---|
committer | Jakub Jirutka <jakub@jirutka.cz> | 2017-04-05 00:34:26 +0200 |
commit | 38e8b3d3bb24ef725a1773dc849c974075d1a8e1 (patch) | |
tree | 72d713684720a9f1374cdcb72ed7f74184db8f44 /community/syslog-summary/03-socklog-compat.patch | |
parent | e7679d170f5af1d7e1b345018b73d14215198284 (diff) | |
download | aports-38e8b3d3bb24ef725a1773dc849c974075d1a8e1.tar.bz2 aports-38e8b3d3bb24ef725a1773dc849c974075d1a8e1.tar.xz |
community/syslog-summary: fix numeric date regex for php error logs
Diffstat (limited to 'community/syslog-summary/03-socklog-compat.patch')
-rw-r--r-- | community/syslog-summary/03-socklog-compat.patch | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/community/syslog-summary/03-socklog-compat.patch b/community/syslog-summary/03-socklog-compat.patch index 288fb8ce9d..03a1993e28 100644 --- a/community/syslog-summary/03-socklog-compat.patch +++ b/community/syslog-summary/03-socklog-compat.patch @@ -7,7 +7,7 @@ + # 1st => runit / svlogd || svlogd -t || -tt || -ttt + re.compile(r"^[\@\.\-\:\_ A-Za-z0-9]{0,26}?(\w+[.]\w+): \w+[ :0-9]{12} "), + # 2nd & 3rd => digit dates / mysql error logs -+ re.compile(r"^([- 0-9]{10} {1,2}[:0-9]{7,8})([ 0-9]{16})? "), ++ re.compile(r"^([-/ 0-9]{10} {1,2}[:0-9]{7,8})([ 0-9]{16})? "), + re.compile(r"^(InnoDB:|Tcp|Time.*Argument|Version:|mysqld,) "), re.compile(r"^(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) [ 0-9][0-9] [ 0-9][0-9]:[0-9][0-9]:[0-9][0-9] "), re.compile(r"^(Mon|Tue|Wed|Thu|Fri|Sat|Sun) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) [ 0-9][0-9][0-9][0-9]:[0-9][0-9] "), |