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

Improve the message of the logs in case of scan failure #29

Open
AndreeaChi opened this issue Jun 25, 2021 · 0 comments
Open

Improve the message of the logs in case of scan failure #29

AndreeaChi opened this issue Jun 25, 2021 · 0 comments

Comments

@AndreeaChi
Copy link

AndreeaChi commented Jun 25, 2021

The AntivirusJob contains debug logs for progress report (scan started, scanning wiki, scanning document, scanning attachment, scan failures, etc.): https://github.com/xwikisas/application-antivirus/blob/master/application-antivirus-api/src/main/java/com/xwiki/antivirus/internal/AntivirusJob.java#L72-L74 They need to be enabled, since, by default, debug logs are not displayed.

The proposal is to clarify the message of the logs to refer to clearer aspects in certain situations. For example,:

  • the cause of the failure to send the scan report (where it might be wiki server crash/restart, reached a peak),
  • the exact wiki, page when the scan process stopped, or
  • the exact wiki, page when the wiki server crashed
  • interruptions during the scan process
  • scan process restart (if this improvement is done)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant