mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-01-19 02:48:24 +00:00
Adjust log message for glog.
This commit is contained in:
parent
49d639ecab
commit
7cc1f473b6
|
@ -736,7 +736,7 @@ var logExitFunc func(error)
|
|||
// It flushes the logs and exits the program; there's no point in hanging around.
|
||||
// l.mu is held.
|
||||
func (l *loggingT) exit(err error) {
|
||||
fmt.Fprintf(os.Stderr, "log: exiting because of error: %s\n", err)
|
||||
fmt.Fprintf(os.Stderr, "glog: exiting because of error: %s\n", err)
|
||||
// If logExitFunc is set, we do that instead of exiting.
|
||||
if logExitFunc != nil {
|
||||
logExitFunc(err)
|
||||
|
|
Loading…
Reference in a new issue