File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ import (
31
31
"github.com/salesforce/sloop/pkg/sloop/webserver"
32
32
)
33
33
34
- const alsologtostderr = "alsologtostderr "
34
+ const logtostderr = "logtostderr "
35
35
36
36
func RealMain () error {
37
37
defer glog .Flush ()
@@ -187,14 +187,14 @@ func RealMain() error {
187
187
}
188
188
189
189
// By default glog will not print anything to console, which can confuse users
190
- // This will turn it on unless user sets it explicitly (with --alsologtostderr =false)
190
+ // This will turn it on unless user sets it explicitly (with --logtostderr =false)
191
191
func setupStdErrLogging () {
192
192
for _ , arg := range os .Args [1 :] {
193
- if strings .Contains (arg , alsologtostderr ) {
193
+ if strings .Contains (arg , logtostderr ) {
194
194
return
195
195
}
196
196
}
197
- err := flag .Set ("alsologtostderr " , "true" )
197
+ err := flag .Set ("logtostderr " , "true" )
198
198
if err != nil {
199
199
panic (err )
200
200
}
You can’t perform that action at this time.
0 commit comments