limboy / kohana-log

more powerful than built in log , and with a log parser
14 stars 5 forks source link

Log_Parser parse preg_match error #1

Open vokiel opened 13 years ago

vokiel commented 13 years ago

The preg_match in parse method should be changed acording to commented bloc in Log_Writer_File: http://github.com/lzyy/kohana-log/blob/master/classes/log/writer/file.php#L37

From: http://github.com/lzyy/kohana-log/blob/master/classes/log/parser.php#L19 To: pregmatch('/^(?)] message: "(?.)" client: (?[^ ]+) uri: (?[^ ]+) referer: (?[^ ]) agent: "(?._)" cookie: "(?.*)"/', $item, $matches);

maxnag commented 13 years ago

also this part - script: "(? Githubissues.

  • Githubissues is a development platform for aggregating issues.