diff options
author | Michal Minar <miminar@redhat.com> | 2013-08-22 15:14:02 +0200 |
---|---|---|
committer | Michal Minar <miminar@redhat.com> | 2013-08-23 10:50:17 +0200 |
commit | 5cc0f9acd68ced1535f54f67a847d4c81eda80f3 (patch) | |
tree | 9697e668d3ce57648bd4035ea2c0fdc4e4d7f964 /src/software/lmi/software/core/Identity.py | |
parent | e3c9b7b8998ce950ce10157d71f3b87c5c104398 (diff) | |
download | openlmi-providers-5cc0f9acd68ced1535f54f67a847d4c81eda80f3.tar.gz openlmi-providers-5cc0f9acd68ced1535f54f67a847d4c81eda80f3.tar.xz openlmi-providers-5cc0f9acd68ced1535f54f67a847d4c81eda80f3.zip |
python: redone cmpi_logging
Module now contains enhanced tracing function decorators providing more
details. There is no global logger, each provider module should obtain
its own logger via get_logger() function.
Usage of LogManager is optional. It allows for logging's
reconfiguration, when config file is changed.
Exceptions logged with error(), exception() or critical() methods are
now logged twice:
* First time for specified level with error message only.
* Second time for TRACE_WARNING level with traceback.
This prevents the polution of syslog.
Diffstat (limited to 'src/software/lmi/software/core/Identity.py')
0 files changed, 0 insertions, 0 deletions