Matt Moore
222dd25986
Migrate pkg to use the knative.dev/pkg import path ( #489 )
...
* Manual changes.
* scripted changes.
2019-06-26 13:02:06 -07:00
Adam Harwayne
67d95db076
Logging config parses all components, rather than just a list passed in. ( #436 )
...
* Logging config pares all components, rather than just a list passed in.
* Simplify the prefix checking logic.
* PR comment - ignore empty string.
* Unit test.
2019-05-30 15:23:31 -07:00
Matt Moore
2923ca42d9
Share the configmap name logic for Logging and Metrics. ( #425 )
...
This also adds a way to fetch the metrics "domain" following a similar pattern to `system.Namespace()`.
2019-05-27 18:41:29 -07:00
Victor Agababov
c100323403
Fix the sugared logger usage ( #300 )
...
* Fix the sugared logger usage
Without `w` the logged messages are quite useless and annoying.
* some more magic
2019-02-28 18:17:38 -08:00
Matt Moore
77b7b13190
Move the defaulting for ConfigMap into our logging library. ( #258 )
...
Progress towards: https://github.com/knative/serving/issues/2668
2019-01-30 21:59:37 -08:00
Yanwei Guo
088e3f7faf
Add the commit ID key as constant for log label ( #158 )
...
* add the commit id constant
* add changeset lib
* add doc.go with explanation
2018-11-06 14:59:36 -08:00
Dave Protasowski
0122abd983
The test logger will now log the correct caller ( #63 )
...
Previous, since we weren't skipping, the logged caller
would be 'logging.go'
2018-09-06 14:16:14 -07:00
Shashwathi
bba99e266c
Use fallback named logger ( #30 )
2018-07-31 14:19:37 -07:00
Matt Moore
9d1975b29f
Drop the fixed list of `knative/serving` components from logging. ( #22 )
2018-07-27 10:14:36 -07:00
Matt Moore
8b7b2d7cfb
Move the logging packages from serving into pkg. ( #21 )
2018-07-27 09:53:35 -07:00