dperrymorrow / Fire-Log

CodeIgniter Log Browser Spark Plugin
33 stars 8 forks source link

log file exists with an error, but nothing shown in fire log? #3

Closed SneakyDave closed 13 years ago

SneakyDave commented 13 years ago

I'm not sure what I'm doing wrong, or what's going on here.

As a test, I have a log file "application/logs/log-2011-06-29.php" with a few errors in it that I generated with "show-message("ERROR",'test test test'), as well as a PHP error

ERROR - 2011-06-29 16:13:42 --> Just an error test
ERROR - 2011-06-29 16:13:42 --> Just a test test
ERROR - 2011-06-29 16:16:39 --> Just an error test
ERROR - 2011-06-29 16:16:39 --> Severity: Notice  --> Use of undefined constant nothing - assumed 'nothing' /bla/blah/blah/index.php 7
ERROR - 2011-06-29 16:16:39 --> Just a test test

When I view the "log-2011-06-29.php - Today" page in fire log, it finds the file (because it'll let me delete it), but the SHOW ALL or ERRORS tab doesn't show me any of the ERRORs in the file...

were no results that matched your filter criteria.

But if I change my log_threshold in config.php from 1 to 2 (Error and Debug messages), it shows all the ERROR and DEBUG messages.

I don't understand, is this some kind of caching issue? Log Threshold wouldn't have anything to do with fire log would it?

SneakyDave commented 13 years ago

ok, the problem isn't with the threshold, it's the amount of data and the paging....

It appears maybe the paging system isn't correct, as if I only have one page of errors, nothing shows up in fire_log, if I have more than one page, it shows 1 page of data (although I think it should show 2)

SneakyDave commented 13 years ago

I can confirm that if I have something like 74 items in my log file, fire_log won't show anything, but if I have 75, then firelog will show the entire page of errors.