Add --log-level support

Next steps, in another PR, would be:
- make all logging go through the logrus stuff
- I'd like to see if we can remove the env var stuff (like DEBUG) but we'll see

Closes #5198

Signed-off-by: Doug Davis <dug@us.ibm.com>
This commit is contained in:
Doug Davis
2014-11-15 09:00:48 -08:00
parent 8682bac309
commit 2facc04673
10 changed files with 108 additions and 15 deletions
+1 -1
View File
@@ -1804,7 +1804,7 @@ func TestRunWithBadDevice(t *testing.T) {
if err == nil {
t.Fatal("Run should fail with bad device")
}
expected := `"/etc": not a device node`
expected := `\"/etc\": not a device node`
if !strings.Contains(out, expected) {
t.Fatalf("Output should contain %q, actual out: %q", expected, out)
}