Skip to content

Commit 80219f6

Browse files
authored
vdk-jupyter: rename log file (#2703)
What: Renamed vdk_logs.txt to vdk_run.log. Why: The name vdk_run.log immediately suggests that the file contains logs related to the run of VDK. It’s a common practice to name log files with a .log extension as it clearly indicates the nature of the file content, allowing users to quickly understand the purpose of the file. Signed-off-by: Duygu Hasan [[email protected]](mailto:[email protected])
1 parent 63eeeef commit 80219f6

File tree

3 files changed

+2
-2
lines changed

3 files changed

+2
-2
lines changed
42.1 KB
Loading

projects/vdk-plugins/vdk-jupyter/vdk-jupyterlab-extension/src/utils.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,4 @@ export const ERROR_DIALOG_CLASS = 'vdk-error-dialog';
1919
export const LOGIN2_INPUT_CLASS = 'jp-vdk-login2-input';
2020
export const LOGIN2_BUTTON_CLASS = 'jp-vdk-login2-button';
2121
export const LOGIN2_DIALOG_CLASS = 'jp-vdk-login2-dialog-container';
22-
export const RUN_LOG_FILE = 'vdk_logs.txt';
22+
export const RUN_LOG_FILE = 'vdk_run.log';

projects/vdk-plugins/vdk-jupyter/vdk-jupyterlab-extension/vdk_jupyterlab_extension/vdk_ui.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ def run_job(path, arguments=None):
6060
]
6161
if len(script_files) == 0:
6262
return {"message": f"No steps were found in {path}!"}
63-
with open("vdk_logs.txt", "w+") as log_file:
63+
with open("vdk_run.log", "w+") as log_file:
6464
path = shlex.quote(str(path))
6565
cmd: list[str] = ["vdk", "run", f"{path}"]
6666
if arguments:

0 commit comments

Comments
 (0)