From e164c7aa82f401b4dfc07f633765c901e62ed1a6 Mon Sep 17 00:00:00 2001 From: nqb Date: Tue, 28 Jun 2022 14:34:32 +0000 Subject: [PATCH] rename httpd-requests in httpd.apache --- lib/pf/constants/syslog.pm | 2 +- lib/pf/file_paths.pm | 2 +- packetfence.logrotate | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/pf/constants/syslog.pm b/lib/pf/constants/syslog.pm index 0e5e0336205d..69353cb52648 100644 --- a/lib/pf/constants/syslog.pm +++ b/lib/pf/constants/syslog.pm @@ -26,7 +26,7 @@ our @SyslogInfo = ( }, { 'description' => 'httpd Apache requests log', - 'name' => 'httpd-requests', + 'name' => 'httpd.apache', 'conditions' => [ '$programname contains "httpd_collector"', '$programname contains "httpd_proxy"', diff --git a/lib/pf/file_paths.pm b/lib/pf/file_paths.pm index 5a19ba9dfd59..5d3ff6c74997 100644 --- a/lib/pf/file_paths.pm +++ b/lib/pf/file_paths.pm @@ -359,7 +359,7 @@ $connectors_config_file = catdir($conf_dir,"connectors.conf"); @log_files = map {catfile($log_dir, $_)} qw( - fingerbank.log httpd-requests api-frontend.log + fingerbank.log httpd.apache api-frontend.log pfacct.log pfstats.log packetfence.log pfdhcp.log pfdns.log pfconfig.log pfdetect.log pffilter.log pfdhcplistener.log pfcron.log pfsso.log diff --git a/packetfence.logrotate b/packetfence.logrotate index e203992c3f4d..a94d46ecb694 100644 --- a/packetfence.logrotate +++ b/packetfence.logrotate @@ -17,7 +17,7 @@ su root pf } -/usr/local/pf/logs/httpd-requests { +/usr/local/pf/logs/httpd.apache { daily rotate 7 missingok