diff --git a/src/daemon/influxd.go b/src/daemon/influxd.go
index <HASH>..<HASH> 100644
--- a/src/daemon/influxd.go
+++ b/src/daemon/influxd.go
@@ -101,6 +101,8 @@ func main() {
 	os.MkdirAll(config.DataDir, 0744)
 	server, err := server.NewServer(config)
 	if err != nil {
+		// sleep for the log to flush
+		time.Sleep(time.Second)
 		panic(err)
 	}
sleep before exit to print the log messages