Commander icon indicating copy to clipboard operation
Commander copied to clipboard

Log as 'keepercommander' instead of 'root'

Open alainbodiguel opened this issue 5 years ago • 2 comments

It would be helpful to have the lib log as another name than root so that when imported into another application we could control the log level specifically for keepercommander. At the moment, it is logged in root, i.e.:

2020-08-04 07:05:44,975 | INFO | root | Syncing...
2020-08-04 07:05:50,960 | WARNING | root | Switching to region: keepersecurity.eu
2020-08-04 07:05:55,186 | INFO | root | Decrypted [91] record(s)

alainbodiguel avatar Aug 04 '20 07:08 alainbodiguel

how are you executing commanders commands in order to get logs the way you mentioned above?

maksimu avatar Nov 19 '20 23:11 maksimu

We import the python lib in our python program.
The logging lib is used and configured to get logs (the formatting is the one configured by us).
And we get these logs from thekeepercommander lib.

alainbodiguel avatar Nov 20 '20 07:11 alainbodiguel