antrea-io / libOpenflow

OpenFlow Go library
Apache License 2.0
9 stars 18 forks source link

Improve log level of verbose loggings #39

Closed tnqn closed 1 year ago

tnqn commented 1 year ago

The OpenFlow messages are rather long and flooding the log file. In most cases developers are not interested in the data of the messages while V(4) is a widely used level for application logs.

The patch improves their log levels to 7, removes some redundant logs, and fixes a log format issue in stream.go, which messed up log files.