You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Under the context UX on source{d} CE, I'm reviewing its logs (to make them as simple as possible, to be understandable for the user), and I saw that for gitbase, is not possible to use debug level info (info, which is the default for gitbase, is the only one failing, the others are not)
I found that it's because the verbose mode is enabled in the init.sh, so when using gitbase docker image, the debug level is set from the beginning by server.go:131, and since it was passed info to the command (the default), it is not recovered because of the if at server.go:140
If it is requested any other log level, the if at server.go:140 will let that the desired log level is used.
The text was updated successfully, but these errors were encountered:
dpordomingo
changed the title
When using docker image, info log level cannot be used
From docker image, info log level cannot be used
Jul 19, 2019
caused by https://github.com/src-d/sourced-ce/issues/142
Under the context UX on source{d} CE, I'm reviewing its logs (to make them as simple as possible, to be understandable for the user), and I saw that for
gitbase
, is not possible to use debug levelinfo
(info
, which is the default forgitbase
, is the only one failing, the others are not)I found that it's because the
verbose
mode is enabled in theinit.sh
, so when usinggitbase
docker image, thedebug
level is set from the beginning by server.go:131, and since it was passedinfo
to the command (the default), it is not recovered because of theif
at server.go:140If it is requested any other log level, the
if
at server.go:140 will let that the desired log level is used.The text was updated successfully, but these errors were encountered: