Skip to content

Commit

Permalink
Use LOG_LOCAL3 on syslog, because that's where FreshPorts logs
Browse files Browse the repository at this point in the history
  • Loading branch information
dlangille committed Oct 14, 2017
1 parent ea2981d commit 2af721a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/freshports.php
Original file line number Diff line number Diff line change
Expand Up @@ -2180,5 +2180,5 @@ function _forDisplay($string, $flags = NULL, $encoding = FRESHPORTS_ENCODING) {
define('EVERYTHING', 'FreshPorts has everything you want to know about <a href="http://www.freebsd.org/">FreeBSD</a> software, ports, packages,
applications, whatever term you want to use.');

openlog('FreshPorts', LOG_PID, LOG_SYSLOG);
openlog('FreshPorts', LOG_PID, LOG_LOCAL3);
#syslog(LOG_NOTICE, $_SERVER['SCRIPT_URL']);

0 comments on commit 2af721a

Please sign in to comment.