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

Log Viewer lists log files in subdirectories but can't open them #9

Open
WalsGit opened this issue Nov 16, 2024 · 0 comments
Open

Log Viewer lists log files in subdirectories but can't open them #9

WalsGit opened this issue Nov 16, 2024 · 0 comments

Comments

@WalsGit
Copy link

WalsGit commented Nov 16, 2024

Hi!
As described on the Flarum forum here some log files are created in the log folder under un subdirectory (like /composer/) with the filename output-YYYY-MM-DD.log. The extension does list them in the files list but when we click on them we get an error.

The issue is that the extension tries to read/get them via .../api/logs/output-YYYY-MM-DD.log instead of .../api/logs/composer/output-YYYY-MM-DD.log

It needs to take into account the potential subfolders under logs.

EDIT: Also, it doesn't seem to delete old log files that are in the subfolder according to the settings like it does for those that are in the root log folder.

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

1 participant