if file logger, stdout will be disabled