参考:https://stackoverflow.com/questions/40102223/how-to-configure-yaml-to-create-fresh-log-files-instead-of-appending-them