Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | logger: use color automatically for a tty | Joe Guo | 2018-11-21 | 1 | -2/+5 |
| | | | | | | | | | Signed-off-by: Joe Guo <joeg@catalyst.net.nz> Reviewed-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz> Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Wed Nov 21 10:46:20 CET 2018 on sn-devel-144 | ||||
* | samba/logger: add logger module for python | Joe Guo | 2018-10-10 | 1 | -0/+66 |
We need a consitent way for logging in Samba Python code. This module provides a factory method `get_samba_logger` to create logger, with a reasonable default format and optional color. Signed-off-by: Joe Guo <joeg@catalyst.net.nz> Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz> Reviewed-by: Andrew Bartlett <abartlet@samba.org> |