Closed cevitaufik closed 6 months ago
Hey @cevitaufik
Interesting problem! And I know why this happens 😄
access-...
files are usually Apache/Nginx access logs, which have a slightly different structure. Log Viewer thinks it's Apache/Nginx (because of the file name), and then uses a specific RegEx for those files. But, it doesn't find any Apache/Nginx logs, and thus shows empty.
But it looks like the contents are actually Laravel logs, so an easy fix would be to name the files laravel-access-*
for example.
In the future I'll add some way to identify and fix the file type the Log Viewer detects, because sometimes it can be wrong, as you can see.
I'm sorry if my english is not good
Log with name like "access-2024-01-05.log" showing "No results"
but the problem is resolved if we just rename that file to "acccess-2024-01-05.log" add new "c" character.
and here is my config file: