Conversation
fixes #136 Signed-off-by: Phil Calcado <[email protected]>
a678e57 to
6347b3e
Compare
siggy
left a comment
There was a problem hiding this comment.
can we standardize on logLevel?
https://github.com/runconduit/conduit/blob/master/web/main.go#L37
also, i think a commit from another PR leaked into this one? i see tap fixes...
|
@siggy marked this as blocked on #136 to fix the other commit being carried over but do you mean expose the log level instead of a generic |
|
@pcalcado i've found it useful to have more fine-grained logging control than binary verbose on/off. particularly during development, i want extremely verbose logging that would rarely be useful for an end-user. without this granularity, the coupling a |
dadjeibaah
left a comment
There was a problem hiding this comment.
@pcalcado PR looks good. Tried it locally and works fine. Are other verbose messages going to be added in to other commands like get.go, install.go etc? Also out of curiosity, what is the criteria for a message that is deemed verbose?
6347b3e to
1383bc1
Compare
Signed-off-by: Phil Calcado <[email protected]>
1383bc1 to
a5f9df8
Compare
While debugging #136 I had to add a lot of
printfbecause we didn't have a consolidated way to print verbose messages.This PR introduces
--verboseas a global flag that enablesDebuglog level. It also replaces some usage of other logging libraries indashboardin favor of the one we use elsewhere.Example output: