opengrok icon indicating copy to clipboard operation
opengrok copied to clipboard

log level propagation from mirror.py to Command

Open vladak opened this issue 5 years ago • 1 comments

Describe the bug As I was debugging a case where the incoming check hung mirror.py for some reason for a project with number of Mercurial repositories (might be a subject of another bug to be filed) I noticed that even though I specified log level as DEBUG, the functions inside the Command class did not log expected output - as if the log level was still set default.

To Reproduce run opengrok-mirror with -l DEBUG on a project

Expected behavior logging in the Command class used by mirror.py should follow the log level, no matter if batch logging (-b) is set.

vladak avatar Dec 23 '19 12:12 vladak

Similarly for functions in utils/mirror.py - things like reporting ignored repositories.

vladak avatar Feb 04 '25 09:02 vladak