We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1d1a28d commit 1ae868aCopy full SHA for 1ae868a
1 file changed
src/vectorcode/cli_utils.py
@@ -1,4 +1,5 @@
1
import argparse
2
+import atexit
3
import glob
4
import json
5
import logging
@@ -523,6 +524,8 @@ def config_logging(
523
524
file_handler = logging.FileHandler(log_file_path)
525
file_handler.setLevel(level or logging.WARN)
526
handlers.append(file_handler)
527
+ if stdio:
528
+ atexit.register(lambda: print(f"Saving log to {log_file_path}."))
529
530
if stdio:
531
import colorlog
0 commit comments