• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

kubeflow / tf-operator / 941
71%

Build:
DEFAULT BRANCH: master
Ran 01 Mar 2018 03:57AM UTC
Jobs 3
Files 27
Run time 18min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
941

push

travis-ci

gaocegege
Use logrus for structured logging (#416)

* Move from glog to sirupsen/logrus for logging
* Add a new flag json_log_format
* Refactor all log statements to use logrus
* Use Info level for log level V(1) and below
* Use Debug level for log level V(2) and above
* Tested locally

Addresses https://github.com/kubeflow/tf-operator/issues/24

Sample logs
```
{"filename":"app/server.go:54","level":"info","msg":"EnvKubeflowNamespace not set, use default namespace","time":"2018-02-27T18:25:18-08:00"}
{"filename":"app/server.go:59","level":"info","msg":"[Version: 0.3.0+git Git SHA: Not provided. Go Version: go1.9.3 Go OS/Arch: darwin/amd64]","time":"2018-02-27T18:25:18-08:00"}
{"filename":"app/server.go:145","level":"info","msg":"No controller_config_file provided; using empty config.","time":"2018-02-27T18:25:18-08:00"}
{"filename":"controller/controller.go:110","level":"info","msg":"Setting up event handlers","time":"2018-02-27T18:25:18-08:00"}
```

20 of 20 new or added lines in 5 files covered. (100.0%)

444 of 1616 relevant lines covered (27.48%)

2.95 hits per line

Jobs
ID Job ID Ran Files Coverage
1 941.1 01 Mar 2018 04:16AM UTC 0
27.48
Travis Job 941.1
2 941.2 01 Mar 2018 04:02AM UTC 0
27.48
Travis Job 941.2
3 941.3 01 Mar 2018 03:57AM UTC 0
24.19
Travis Job 941.3
Source Files on build 941
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #941
  • 5d0d1268 on github
  • Prev Build on master (#940)
  • Next Build on master (#946)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc