Created attachment 220944 [details] support syslogging i2pd supports logging via syslog. This may be enabled with its configuration file, but port's startup script forces logging to a file using command line switches that override configuration file. Let's enhance the startup script, so it supports syslogging with following rc.conf setting: i2pd_logfile="syslog" # translates to: --log syslog or i2pd_logfile="syslog:warn" # translates to: --log syslog --loglevel warn Attached patch implements this being compatible with previous version.
A commit references this bug: Author: eugen Date: Sun Jan 17 15:25:34 UTC 2021 New revision: 561829 URL: https://svnweb.freebsd.org/changeset/ports/561829 Log: security/i2pd: make the port compatible with syslogging i2pd supports logging via syslog. This may be enabled with its configuration file, but port's startup script forces logging to a file using command line switches that override configuration file. This change adds syslogging support with following rc.conf setting: i2pd_logfile="syslog" # translates to: --log syslog or i2pd_logfile="syslog:warn" # translates to: --log syslog --loglevel warn The change is backward compatible with previous settings. PR: 252159 Approved by: amdmi3 (maintainer timeout over 3 weeks) Changes: head/security/i2pd/Makefile head/security/i2pd/files/i2pd.in
The fix committed. Re-assign the PR to myself to track possible follow-ups.
A commit references this bug: Author: amdmi3 Date: Mon Jan 18 15:42:01 UTC 2021 New revision: 561921 URL: https://svnweb.freebsd.org/changeset/ports/561921 Log: Revert 561829, this is not a correct solution PR: 252159 Changes: head/security/i2pd/Makefile head/security/i2pd/files/i2pd.in
- The timeout was not honored including new year holidays - The solution is overcomplicated and not correct - these settings should be removed from rc.d and handled in the config file Correct solution is in the works, reverted for users to not have to update configs multiple times.
A commit references this bug: Author: amdmi3 Date: Mon Jan 18 23:30:23 UTC 2021 New revision: 561985 URL: https://svnweb.freebsd.org/changeset/ports/561985 Log: - Use configuration file PR: 252159 Changes: head/security/i2pd/Makefile head/security/i2pd/files/i2pd.in head/security/i2pd/files/patch-contrib_i2pd.conf head/security/i2pd/files/pkg-message.in head/security/i2pd/pkg-message head/security/i2pd/pkg-plist