diff --git a/examples/blender/blender.py b/examples/blender/blender.py index ca3858ce7..1ebb0eb69 100755 --- a/examples/blender/blender.py +++ b/examples/blender/blender.py @@ -130,7 +130,8 @@ async def worker(ctx: WorkContext, tasks): if __name__ == "__main__": parser = build_parser("Render a Blender scene") - parser.set_defaults(log_file="blender-yapapi.log") + now = datetime.now().strftime("%Y-%m-%d_%H.%M.%S") + parser.set_defaults(log_file=f"blender-yapapi-{now}.log") args = parser.parse_args() # This is only required when running on Windows with Python prior to 3.8: