change log-output behavior, append if exist.