forked from othman.suseno/Mail-Migrator
fix and recompile
This commit is contained in:
2
main.go
2
main.go
@@ -53,7 +53,7 @@ func main() {
|
||||
|
||||
func setupLogging(file string) {
|
||||
logrus.SetFormatter(&logrus.TextFormatter{FullTimestamp: true})
|
||||
logrus.SetLevel(logrus.InfoLevel)
|
||||
logrus.SetLevel(logrus.DebugLevel) // Changed from InfoLevel to DebugLevel for troubleshooting
|
||||
if file != "" {
|
||||
f, err := os.OpenFile(file, os.O_CREATE|os.O_WRONLY|os.O_APPEND, 0644)
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user