fix mistake of logging to file for mclient