Closed palpalani closed 8 years ago
This package doesn't support this feature. The only thing you can do is to override the LogViewer classes and especially the Filesystem Class.
Good news @palpalani, i solved your case.
You can use now the new methods to load your custom log files names.
Or by using the new config file pattern attributes.
Available from arcanedev/logivewer >= 3.10.0
.
Wow! Thank you very much.
Is this supporting multiple patterns?
You're going to do it manually (you can use the LogViewer as an API).
LogViewer
routes.cli
, fpm-fcgi
).LogViewer
Controller (You can copy some codes from the base LogViewer Controller), and use the new methods to set pattern based on prefixes/slugs.yes, duplicated your LogViewerController
and then assigned custom pattern value like $this->logViewer->setPattern('laravel-web-', $date, $extension);
.
Wow! it works.
If there is a simple way to realize this feature, that must be cool.
Recently, we faced permission issue for creating logs. So we created separate log file for cli. Our logs file names like
laravel-cli-2016-05-19.log
,laravel-fpm-fcgi-2016-05-14
. Permission issue is resolve, but we are not able view these log files using LogViewer.How to view those log files?