pkg/logging
coryrc d3841ea2c3 Remove ugly constant string being printed in every log. (#878)
In every log we get the ugly string printed:
2019-11-13T08:44:42.421-0800    info    logging/config.go:50
Successfully created the logger.    {"knative.dev/jsonconfig": "{\n\t
\"level\": \"debug\",\n\t  \"encoding\": \"console\",\n\t
\"outputPaths\": [\"stdout\"],\n\t  \"errorOutputPaths\":
[\"stderr\"],\n\t  \"encoderConfig\": {\n\t    \"timeKey\":
\"ts\",\n\t    \"messageKey\": \"message\",\n\t    \"levelKey\":
\"level\",\n\t    \"nameKey\": \"logger\",\n\t    \"callerKey\":
\"caller\",\n\t    \"messageKey\": \"msg\",\n\t    \"stacktraceKey\":
\"stacktrace\",\n\t    \"lineEnding\": \"\",\n\t    \"levelEncoder\":
\"\",\n\t    \"timeEncoder\": \"iso8601\",\n\t    \"durationEncoder\":
\"\",\n\t    \"callerEncoder\": \"\"\n\t  }\n\t}"}

It's all a constant (see test/logging/logging.go:newLogger), except
"level", which is then printed immediately afterward. So just remove
printing this string.
2019-11-13 19:30:28 -08:00
..
logkey add trace id (#405) 2019-05-16 07:14:22 -07:00
testing Remove caching in test logger setup (#661) 2019-09-20 10:42:06 -07:00
OWNERS Update OWNERS to use OWNERS_ALIASES (#422) 2019-05-29 20:04:33 -07:00
config.go Remove ugly constant string being printed in every log. (#878) 2019-11-13 19:30:28 -08:00
config_test.go Do not override log level if component is undefined in logging config (#780) 2019-10-20 14:14:22 -07:00
logger.go Move the logging packages from serving into pkg. (#21) 2018-07-27 09:53:35 -07:00
logger_test.go Move the logging packages from serving into pkg. (#21) 2018-07-27 09:53:35 -07:00
zz_generated.deepcopy.go Move Condition stuff to apis, add a v1beta1 Status. (#361) 2019-04-02 09:51:55 -07:00