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

Change log file to display ?

Open fffab opened this issue 5 years ago • 6 comments

Hi,

On your documentation, it seems to be a way to change le log file to be displayed (see picture).

But i'm also logging into others files It would be nice if i can we I can see them in the same way, using the dropdown seen on that capture... but i don't know how i can deal with that

And... thanks for this cool tool !

fffab avatar Sep 05 '19 14:09 fffab

are you using daily logs?

KABBOUCHI avatar Sep 05 '19 17:09 KABBOUCHI

please update to v0.1.3 and retry

KABBOUCHI avatar Sep 05 '19 17:09 KABBOUCHI

I did the update. Now i have a dropdown this is great. Thanks for being so quick !

By now the file selection seems to be limited to laravels log files, daily or full.

Can you imagine not to restrict this, in this logs folder for example, i also have personnals logs, like something-import.log (full) something-import_xxxx.log (daily) it would by very nice if such a option / configuration exists.

Regards,

fffab avatar Sep 06 '19 15:09 fffab

Sure, I'll add it in the next update. currently its checking if log has "laravel" in the name.

https://github.com/KABBOUCHI/nova-logs-tool/blob/3ccafbd6bbf213c1f7ebc878f5529998fead6da1/src/Http/Controllers/LogsController.php#L38-L43

KABBOUCHI avatar Sep 06 '19 15:09 KABBOUCHI

Great, !

thanks for show me the good controller. in the meantime i will just change that. but i'll return to you release after.

Regards,

fffab avatar Sep 06 '19 15:09 fffab

@KABBOUCHI @fffab I added a pull request with that feature: https://github.com/KABBOUCHI/nova-logs-tool/pull/11

andypa avatar Nov 15 '19 10:11 andypa