gddo icon indicating copy to clipboard operation
gddo copied to clipboard

Allow users to set the log level for the root log15 handler.

Open parkr opened this issue 7 years ago • 3 comments

Using the GODOC_LOG_LEVEL environment variable, an administrator running this service can decide which logs to print. This is helpful for toggling off debugging logs which may contain sensitive information such as credentials.

If a logger is defined in the context passed into any of the exported logging methods, then this environment variable does not take effect – the handlers specified on the logger in the context determines what is logged and how.

parkr avatar May 30 '18 15:05 parkr

This PR (HEAD: b0e939c367393dbf769fdb07e931d3d96bcc84b7) has been imported to Gerrit for code review.

Please visit https://go-review.googlesource.com/#/c/gddo/+/115315 to see it.

Tip: You can toggle comments from me using the comments slash command (e.g. /comments off) See the Wiki page for more info

gopherbot avatar May 30 '18 15:05 gopherbot

Message from David Symonds:

Patch Set 1:

I don't own any of this code.


Please don’t reply on this GitHub thread. Visit golang.org/cl/115315. After addressing review feedback, remember to publish your drafts!

gopherbot avatar May 30 '18 23:05 gopherbot

Message from Parker Moore:

Patch Set 1:

Patch Set 1:

I don't own any of this code.

Sorry, David! My apologies. You were the only person I saw who had commits in the last 1 month: https://github.com/golang/gddo/pulse/monthly

Do you know who I should ask for review here? ADG?


Please don’t reply on this GitHub thread. Visit golang.org/cl/115315. After addressing review feedback, remember to publish your drafts!

gopherbot avatar May 31 '18 17:05 gopherbot