summaryrefslogtreecommitdiffstats
path: root/usr/local/www/diag_logs.php
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@sullrich-MacBookPro.local>2009-03-18 22:06:47 -0400
committerScott Ullrich <sullrich@sullrich-MacBookPro.local>2009-03-18 22:06:47 -0400
commit833eb9d680935bd27ccd49635226745ffef34609 (patch)
tree42149c343f1e52245e65f99488e61f9a5f5c31a8 /usr/local/www/diag_logs.php
parent9dac9942c2978995e4721f2024b88b7ea9abb65a (diff)
downloadpfsense-833eb9d680935bd27ccd49635226745ffef34609.zip
pfsense-833eb9d680935bd27ccd49635226745ffef34609.tar.gz
Do not restart syslkog, just hup it
Diffstat (limited to 'usr/local/www/diag_logs.php')
-rwxr-xr-xusr/local/www/diag_logs.php13
1 files changed, 7 insertions, 6 deletions
diff --git a/usr/local/www/diag_logs.php b/usr/local/www/diag_logs.php
index 47481b0..f3a1839 100755
--- a/usr/local/www/diag_logs.php
+++ b/usr/local/www/diag_logs.php
@@ -53,14 +53,15 @@ if ($_POST['clear']) {
touch($syslog_logfile);
system_syslogd_start();
} else {
- exec("killall syslogd");
- sleep(1);
- if(file_exists("{$system_logfile}"))
- unlink("{$system_logfile}");
+// exec("killall syslogd");
+// sleep(1);
+// if(file_exists("{$system_logfile}"))
+// unlink("{$system_logfile}");
exec("/usr/sbin/fifolog_create -s 511488 {$system_logfile}");
- system_syslogd_start();
+ exec("/usr/bin/killall -HUP syslogd");
+// system_syslogd_start();
+// Header("Location: diag_logs.php");
}
-
}
if ($_GET['filtertext'])
OpenPOWER on IntegriCloud