Commander
Commander copied to clipboard
Log as 'keepercommander' instead of 'root'
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)
how are you executing commanders commands in order to get logs the way you mentioned above?
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.