public inbox for development@lists.ipfire.org
 help / color / mirror / Atom feed
From: Adolf Belka <adolf.belka@ipfire.org>
To: development@lists.ipfire.org
Cc: Adolf Belka <adolf.belka@ipfire.org>
Subject: [PATCH 1/5] functions.pl: pakfir cleanup
Date: Sat, 28 Jun 2025 15:48:49 +0200	[thread overview]
Message-ID: <20250628134853.3312365-1-adolf.belka@ipfire.org> (raw)

- 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



             reply	other threads:[~2025-06-28 13:49 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-06-28 13:48 Adolf Belka [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20250628134853.3312365-1-adolf.belka@ipfire.org \
    --to=adolf.belka@ipfire.org \
    --cc=development@lists.ipfire.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox