Revert "Adding TRACE level to VOLTHA logs"
This reverts commit 3d7abcced71b0f67d11ca028907803494a0b0a1e.
Change-Id: I9efb08383389c5150cc070de902e6bb1c9736e30
diff --git a/common/structlog_setup.py b/common/structlog_setup.py
index 828c439..cbbda89 100644
--- a/common/structlog_setup.py
+++ b/common/structlog_setup.py
@@ -79,14 +79,6 @@
logging.config.dictConfig(log_config)
logging.root.level -= 10 * verbosity_adjust
- # Add TRACE log level (lower than DEBUG:10)
- TRACE_LOGLVL = 5
- logging.addLevelName(TRACE_LOGLVL, "TRACE")
- def trace_loglevel(self, message, *args, **kws):
- if self.isEnabledFor(TRACE_LOGLVL):
- self._log(TRACE_LOGLVL, message, args, **kws)
- logging.Logger.trace = trace_loglevel
-
processors = [
add_exc_info_flag_for_exception,
structlog.processors.StackInfoRenderer(),
@@ -104,6 +96,7 @@
log.info("first-line")
return log
+
def update_logging(instance_id, vcore_id):
"""
Add the vcore id to the structured logger