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

'Delete' log shows success, but file is not deleted #11

Open
bencresty opened this issue Feb 24, 2022 · 2 comments
Open

'Delete' log shows success, but file is not deleted #11

bencresty opened this issue Feb 24, 2022 · 2 comments

Comments

@bencresty
Copy link

bencresty commented Feb 24, 2022

First of all thanks for this plugin and the new buttons on top. They're very useful.
However, although the first log files in the dropdown were deleted without any issues, when hitting the Delete-button again on the web.log file it shows in the flash message that the file is deleted, but after the following automatic reload it just loads the exact same file with the exact same contents and none of the web.log-files in the dropdown are actually deleted.

Even if there would be file system issue I would at least expect an error-message in the flash message popup.

image

@bencresty bencresty changed the title Clear log shows success, but file is not deleted 'Delete' log shows success, but file is not deleted Feb 24, 2022
@Tam
Copy link
Member

Tam commented Mar 9, 2022

@bencresty Can you check your logs and console to see if there are any errors?

@jakelapan
Copy link

I have the same issue and found that your hidden input field (name="log") does not update when switching between logs using the dropdown. If I use the inspector window to update the value of this field to the log I want to delete/truncate it works fine.

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