Skip to content

Conversation

@LakshayaTohan
Copy link

Add a LogFileProvider class that identifies the available log files It checks if the admin_audit app is enabled, and fetches it's logfile path.

Additionally, add ability for user to select the file they want to view. The "Download logs" button now downloads the currently selected log file.

Tested by enabling/disabling admin_audit app, toggling "Log file"

Add a LogFileProvider class that identifies the available log files
It checks if the admin_audit app is enabled, and fetches it's logfile
path.

Additionally, add ability for user to select the file they want to
view. The "Download logs" button now downloads the currently selected
log file.

Tested by enabling/disabling admin_audit app, toggling "Log file"

Signed-off-by: Lakshaya Tohan <lakshaya.tohan@gmail.com>
Signed-off-by: Lakshaya Tohan <lakshaya.tohan@gmail.com>
This fixes an error: Optional parameter $levels declared before required parameter $logfile is implicitly treated as a required parameter

Signed-off-by: Lakshaya Tohan <87015086+LakshayaTohan@users.noreply.github.com>
@joshtrichards
Copy link
Member

I haven't had an opportunity to look closely at the code yet, but I like the idea.

Some of this is based on #476, correct?

This would certainly further address #318 / #129 w/o forcing the admin to use consolidated logging (see nextcloud/documentation#10604).

P.S. Looks like one of your commits isn't signed so the tests can't run. A rebase to master probably a.good idea while you're at it. :-)

@blizzz blizzz modified the milestones: Nextcloud 29, Nextcloud 30 Apr 8, 2024
@skjnldsv skjnldsv mentioned this pull request Aug 22, 2024
44 tasks
@blizzz blizzz mentioned this pull request Jan 29, 2025
1 task
@blizzz blizzz modified the milestones: Nextcloud 31, Nextcloud 32 Jan 29, 2025
@skjnldsv skjnldsv modified the milestones: Nextcloud 32, Nextcloud 33 Sep 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants