move the log entry to seperate go file.