From 1a2bf3ccf22770a7615d673d47ca22d45da99ad8 Mon Sep 17 00:00:00 2001 From: Vadim Troshchinskiy Date: Fri, 27 Jun 2025 13:22:55 +0200 Subject: [PATCH] ref #2346: Use the general log files --- interfaceAdm/CrearImagenGit.py | 2 +- interfaceAdm/ModificarImagenGit.py | 2 +- interfaceAdm/RestaurarImagenGit.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/interfaceAdm/CrearImagenGit.py b/interfaceAdm/CrearImagenGit.py index a1debc6..0375d92 100755 --- a/interfaceAdm/CrearImagenGit.py +++ b/interfaceAdm/CrearImagenGit.py @@ -74,7 +74,7 @@ def main(): opengnsys_log_dir = "/opt/opengnsys/log" ip_address = NetLib.ogGetIpAddress() - logFilePath = f"{opengnsys_log_dir}/{ip_address}.CrearImagenGit.log" + logFilePath = f"{opengnsys_log_dir}/{ip_address}.log" fileLog = logging.FileHandler(logFilePath) fileLog.setLevel(logging.DEBUG) diff --git a/interfaceAdm/ModificarImagenGit.py b/interfaceAdm/ModificarImagenGit.py index 2142c32..e0a58b5 100644 --- a/interfaceAdm/ModificarImagenGit.py +++ b/interfaceAdm/ModificarImagenGit.py @@ -70,7 +70,7 @@ def main(): opengnsys_log_dir = "/opt/opengnsys/log" ip_address = NetLib.ogGetIpAddress() - logFilePath = f"{opengnsys_log_dir}/{ip_address}.ModificarImagenGit.log" + logFilePath = f"{opengnsys_log_dir}/{ip_address}.log" fileLog = logging.FileHandler(logFilePath) fileLog.setLevel(logging.DEBUG) diff --git a/interfaceAdm/RestaurarImagenGit.py b/interfaceAdm/RestaurarImagenGit.py index 62b6c97..802dd2d 100755 --- a/interfaceAdm/RestaurarImagenGit.py +++ b/interfaceAdm/RestaurarImagenGit.py @@ -55,7 +55,7 @@ if __name__ == "__main__": opengnsys_log_dir = "/opt/opengnsys/log" ip_address = NetLib.ogGetIpAddress() - logFilePath = f"{opengnsys_log_dir}/{ip_address}.RestaurarImagenGit.log" + logFilePath = f"{opengnsys_log_dir}/{ip_address}.log" fileLog = logging.FileHandler(logFilePath) fileLog.setLevel(logging.DEBUG)