Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change log file to display ? #10

Open
fffab opened this issue Sep 5, 2019 · 6 comments
Open

Change log file to display ? #10

fffab opened this issue Sep 5, 2019 · 6 comments

Comments

@fffab
Copy link

fffab commented Sep 5, 2019

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 !

@KABBOUCHI
Copy link
Owner

are you using daily logs?

@KABBOUCHI
Copy link
Owner

please update to v0.1.3 and retry

@fffab
Copy link
Author

fffab commented Sep 6, 2019

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,

@KABBOUCHI
Copy link
Owner

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

public function dailyLogFiles()
{
return collect(Ward::getFiles(true))->filter(function ($file) {
return strpos($file, 'laravel') === 0;
})->values()->all();
}

@fffab
Copy link
Author

fffab commented Sep 6, 2019

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,

@andypa
Copy link
Contributor

andypa commented Nov 15, 2019

@KABBOUCHI @fffab I added a pull request with that feature: #11

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants