Commit d02a5e4b3c4b7623d072dad31a6e4ff32c908cf7

Authored by Etienne Pallier
1 parent dea5e7ab
Exists in dev

clean log

src/core/pyros_django/agent/Agent.py
... ... @@ -577,9 +577,11 @@ class Agent:
577 577 self.print_TEST_MODE()
578 578  
579 579 self.init()
  580 + ''' testing log:
580 581 self.log_w("WARNING", "watch your step !")
581 582 self.log_e("ERROR")
582 583 self.log_c("FATAL critical ERROR")
  584 + '''
583 585  
584 586 # Avoid blocking on false "running" commands
585 587 # (old commands that stayed with "running" status when agent was killed)
... ...
src/core/pyros_django/agent/AgentDevice.py
... ... @@ -149,7 +149,7 @@ class AgentDevice(Agent):
149 149 # Device socket init
150 150 # (optional) Only useful for TCP (does nothing for UDP)
151 151 self._device_ctrl._connect_to_device()
152   - self._device_ctrl.print_available_cmds()
  152 + if self.DEBUG_MODE: self._device_ctrl.print_available_cmds()
153 153  
154 154 # Telescope (long) init
155 155 # TODO:
... ...