diff --git a/bot.go b/bot.go index 5ad19dd..7e4bad3 100644 --- a/bot.go +++ b/bot.go @@ -33,8 +33,7 @@ var ( ) func init() { - log.SetOutput(os.Stdout) - log.SetFlags(log.Lshortfile) + log.SetFlags(log.Ltime | log.Lshortfile) log.Println("bot.go loading..") config.SetConfigName("config")