public inbox for development@lists.ipfire.org
 help / color / mirror / Atom feed
* [PATCH 1/5] functions.pl: pakfir cleanup
@ 2025-06-28 13:48 Adolf Belka
  2025-06-28 13:48 ` [PATCH 2/5] pakfire: Remove creation of pakfire.log that is never used Adolf Belka
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Adolf Belka @ 2025-06-28 13:48 UTC (permalink / raw)
  To: development; +Cc: Adolf Belka

- I wondered what was supposed to be in the pakfire.log file that has always been empty
   so I had a look around and discovered that it has been commented out since CU30
- So this patch removes that commented out line and the other patches in this set
   remove the creation of the empty pakfire.log file and stop it being restored etc

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
---
 src/pakfire/lib/functions.pl | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/src/pakfire/lib/functions.pl b/src/pakfire/lib/functions.pl
index 2f172c398..e2c646313 100644
--- a/src/pakfire/lib/functions.pl
+++ b/src/pakfire/lib/functions.pl
@@ -2,7 +2,7 @@
 ###############################################################################
 #                                                                             #
 # IPFire.org - A linux based firewall                                         #
-# Copyright (C) 2007-2022   IPFire Team   <info@ipfire.org>                   #
+# Copyright (C) 2007-2025   IPFire Team   <info@ipfire.org>                   #
 #                                                                             #
 # This program is free software: you can redistribute it and/or modify        #
 # it under the terms of the GNU General Public License as published by        #
@@ -105,7 +105,6 @@ sub message {
 sub logger {
 	my $log = shift;
 	if ($log) {
-		#system("echo \"`date`: $log\" >> /var/log/pakfire.log");
 		system("logger -t pakfire \"$log\"");
 	}
 }
-- 
2.50.0



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2025-06-28 13:49 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-06-28 13:48 [PATCH 1/5] functions.pl: pakfir cleanup Adolf Belka
2025-06-28 13:48 ` [PATCH 2/5] pakfire: Remove creation of pakfire.log that is never used Adolf Belka
2025-06-28 13:48 ` [PATCH 3/5] backup.pl: Stop restore of the empty pakfire.log file Adolf Belka
2025-06-28 13:48 ` [PATCH 4/5] update.sh: Remove pakfire.log file as it is not used Adolf Belka
2025-06-28 13:48 ` [PATCH 5/5] core196: Ship pakfire Adolf Belka

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox