Commit 3d164c8f authored by Mario Hock's avatar Mario Hock

introduced auto-logging state "(Active)"

parent 9f5ad291
......@@ -23,7 +23,7 @@ divisor = 1000000.0
rounding_digits = 2
unit = "MBits"
LOGGING_STATE_COLORS = {"Active": 3, "Disabled": 1, "Standby": 4, "Enabled": 3}
LOGGING_STATE_COLORS = {"Active": 3, "(Active)": 2, "Disabled": 1, "Standby": 4, "Enabled": 3}
## Reference to the logging manager, to display its state.
......
......@@ -426,7 +426,10 @@ class LoggingManager:
# BRANCH: auto-logging
else:
if ( self.logging_active ):
return "Active"
if ( self.inactivity_count > 2 ):
return "(Active)"
else:
return "Active"
else:
return "Standby"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment