From dc6c1a80cc7e63168463220c7c91342ec9e9a152 Mon Sep 17 00:00:00 2001 From: Thomas Lamprecht Date: Wed, 21 Jun 2023 16:39:33 +0200 Subject: [PATCH] log: record when and that the log got initialized Signed-off-by: Thomas Lamprecht --- Proxmox/Log.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/Proxmox/Log.pm b/Proxmox/Log.pm index cca8ddf..fc8760a 100644 --- a/Proxmox/Log.pm +++ b/Proxmox/Log.pm @@ -16,6 +16,7 @@ sub init { croak "log fd is already defined, refuse to reinitialize!" if defined($log_fd); $log_file = "/tmp/install.log" if !defined($log_file); $log_fd = IO::File->new(">${log_file}") or croak "could not open log file - $!\n"; + log_info("initialized log"); } my sub iso_like_date_time { -- 2.39.5