k3s/pkg/client
Clayton Coleman 4e56dafecc Introduce some default log verbosity control
Move a lot of common error logging into better buckets:

glog.Errorf() - Always an error
glog.Warningf() - Something unexpected, but probably not an error
glog.V(0) - Generally useful for this to ALWAYS be visible
            to an operator
            * Programmer errors
            * Logging extra info about a panic
            * CLI argument handling
glog.V(1) - A reasonable default log level if you don't want
            verbosity
            * Information about config (listening on X, watching Y)
            * Errors that repeat frequently that relate to conditions
              that can be corrected (pod detected as unhealthy)
glog.V(2) - Useful steady state information about the service
            * Logging HTTP requests and their exit code
            * System state changing (killing pod)
            * Controller state change events (starting pods)
            * Scheduler log messages
glog.V(3) - Extended information about changes
            * More info about system state changes
glog.V(4) - Debug level verbosity (for now)
            * Logging in particularly thorny parts of code where
              you may want to come back later and check it
2014-09-25 16:30:14 -04:00
..
cache Introduce some default log verbosity control 2014-09-25 16:30:14 -04:00
client.go Adding GetEndpoints method to the client EndpointsInterface 2014-09-22 17:40:18 -07:00
client_test.go Added test case 2014-09-22 17:40:18 -07:00
conditions.go Return immediately when controllers/pods are committed 2014-08-20 18:46:10 -04:00
containerinfo.go Retrieve machine spec from cAdvisor 2014-07-17 15:21:47 -07:00
containerinfo_test.go Remove all code dealing with cadvisor Percentiles 2014-09-22 14:22:40 -04:00
doc.go Address package level comments for readability. 2014-06-12 20:26:12 -07:00
fake.go Adding GetEndpoints method to the client EndpointsInterface 2014-09-22 17:40:18 -07:00
fake_test.go Replace pkg/kubecfg#FakeKubeClient with the fake in pkg/client 2014-08-15 17:15:53 -04:00
podinfo.go Unify Godoc formatting, fix various typos 2014-09-02 13:41:03 +02:00
podinfo_test.go Convert existing kubernetes system to use ContainerStatus, instead of 2014-09-24 11:16:46 -07:00
request.go Cleanup watch encoding (remove dupe Encoding) 2014-09-22 16:03:07 -04:00
request_test.go Cleanup watch encoding (remove dupe Encoding) 2014-09-22 16:03:07 -04:00