AirVantage / sbulb

UDP load balancer prototype using bcc (XDP/Bpf)
36 stars 9 forks source link

Have a first simple way to logs #4

Closed sbernard31 closed 5 years ago

sbernard31 commented 5 years ago

Logs will just be print on standard output. 4 levels logs : NONE / ERROR / DEBUG / TRACE

NONE : nothing printed ERROR : for unexpected state DEBUG : ERROR + all packet unmodified packet. TRACE : DEBUG + all modified packet.

(can not be changed without restart)

sbernard31 commented 5 years ago

First version is available now, see #22 for more details. Several possible improvements listed in #21.