do not write messages on console when output is csv format