nova-logs icon indicating copy to clipboard operation
nova-logs copied to clipboard

Log is empty

Open jetwes opened this issue 7 years ago • 12 comments

I installed the tool - installation went fine.

Unfortunately the DASHBOARD and LOGS view are both empty... image image

jetwes avatar Sep 20 '18 07:09 jetwes

I'm having the same problem. I'm getting the following errors in the console:

image

intellow avatar Jan 20 '19 04:01 intellow

Sry for my late reply ... i will check it

PHPJunior avatar Jan 20 '19 05:01 PHPJunior

@intellow have you set the "daily" option in the .env as the log channel?

juancruzmartino avatar Mar 28 '19 18:03 juancruzmartino

I believe this is due to memory limits/decisions of the underlying log viewer/parser Arcanedev/LogViewer. Read more about the issues here: https://github.com/ARCANEDEV/LogViewer/issues/21

I am (sadly) not able to use this package as my daily log files are all larger than 128M and even pushing my php memory limit to 4GB I still get the "Allowed memory size of XXX bytes exhausted" when running the log viewer :(

rverrips avatar Jun 29 '19 16:06 rverrips

I have the same problem. I do not have any errors in the console. LOG_CHANNEL is set to daily.

The log file is less than 1 MB so it should not a problem with memory.

pelmered avatar Aug 31 '19 15:08 pelmered

same problem

dam62500 avatar Jan 23 '20 15:01 dam62500

any solution? one year later, unfortunately :)

ahinkle avatar Feb 04 '20 03:02 ahinkle

I would declare this packet pretty dead and unmaintained. You should fork it or look for another solution.

pelmered avatar Feb 04 '20 19:02 pelmered

Sry , I will fix it ASAP.

PHPJunior avatar Feb 04 '20 19:02 PHPJunior

use LOG_CHANNEL=daily.

I got it working by installing and configuring arcanedev/log-viewer first (make sure you can get to /log-viewer/) before installing this package. Seems to work well. Perhaps the documentation needs to refect to use LOG_CHANNEL=daily for Laravel 5.6+6.x+

ahinkle avatar Feb 04 '20 22:02 ahinkle

I just deleted /vendor/php-junior/nova-logs and reinstalled with composer require php-junior/nova-logs and hop! am good.

bab55z avatar Mar 10 '20 11:03 bab55z

@intellow

I'm having the same problem. I'm getting the following errors in the console:

image

The ticket is old, have you found a solution? If not, try this => php artisan route:cache

mesrack avatar Sep 08 '22 08:09 mesrack