xwikisas / application-antivirus

Keeps your XWiki instance safe by scanning file attachments for viruses or malware.
GNU Lesser General Public License v2.1
0 stars 1 forks source link

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

Open AndreeaChi opened 3 years ago

AndreeaChi commented 3 years ago

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,: