profile
viewpoint

Ask questionsserver-packet logging request

I noticed a TODO comment for adding a logger in server-packet.go. I'm interested in helping out with this, but wanted to clarify a few things first.

  1. Is this something you would welcome a PR for?
  2. If so, is there a preferred logger? My preference is typically glog, but happy to use something else if preferred.
layeh/radius

Answer questions bontibon

The logging would only be for things like errors, not debugging information like successful connections or packet responses.

The net/http.*Server just uses the log package for this (see net/http.*Server.ErrorLog). What are you thoughts on that?

useful!

Related questions

No questions were found.
source:https://uonfu.com/
Github User Rank List