tracevis icon indicating copy to clipboard operation
tracevis copied to clipboard

Feature/logger

Open RYNEQ opened this issue 2 years ago • 3 comments

print messages are converted to logger messages we now have --log CLI parameter which defaults to debug and prints all messages

  • Obvious error and warning messages are in correct level.
  • Packet details are in debug level
  • decoratives, informatives and Morse codes are in info level (Cleanup and enhancements are required)

Also current message format is %(message)s so only the message itself is logged; we need to categorize sections/modules/functions and decide for a appropriate message format (time, section, level, message, ...)

RYNEQ avatar May 04 '22 22:05 RYNEQ

Should we change the --log {critical,error,warning,info,debug} behavior to something like -v for warning, -vv for info and -vvv for debug ? This seems simpler

RYNEQ avatar May 04 '22 23:05 RYNEQ

-vvv seems more idiomatic, thanks a lot!

xhdix avatar May 05 '22 15:05 xhdix

-vvv seems more idiomatic, thanks a lot!

Now -v, -vv and -vvv are available for warinig, info, debug levels and default verbosity is error

RYNEQ avatar May 07 '22 02:05 RYNEQ