Changeset 9e573a2 for npl/syn3/webint/src/log/syslog.php
- Timestamp:
- 01/19/22 12:56:25 (3 years ago)
- Branches:
- master
- Children:
- ffaaf60
- Parents:
- 892871d
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
npl/syn3/webint/src/log/syslog.php
r892871d r9e573a2 47 47 { 48 48 //if it doens't match its probably a 'repeat message' 49 if (!preg_match("/(\w*) *(\w*) (..:..:..) ( \w*) ([^ ]*): (\w*) (.*)/",$line,$matches))50 preg_match("/(\w*) *(\w*) (..:..:..) ( \w*) (\w*) (.*)/",$line,$matches);49 if (!preg_match("/(\w*) *(\w*) (..:..:..) ([-\w]*) ([^ ]*): (\w*) (.*)/",$line,$matches)) 50 preg_match("/(\w*) *(\w*) (..:..:..) ([-\w]*) (\w*) (.*)/",$line,$matches); 51 51 52 52 list($bagger,$month,$day,$time,$host, $user,$prio, $message)=$matches;
Note: See TracChangeset
for help on using the changeset viewer.