[Issue 10143] only use logfile in server mode