[Bug 218814] sysutils/graylog: update 2.2.2 -> 2.2.3 and fix daemon handling
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Sat Apr 22 14:13:05 UTC 2017
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=218814
Bug ID: 218814
Summary: sysutils/graylog: update 2.2.2 -> 2.2.3 and fix daemon
handling
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: Individual Port(s)
Assignee: freebsd-ports-bugs at FreeBSD.org
Reporter: dch at skunkwerks.at
CC: thomas at bartelmess.io
Flags: maintainer-feedback?(thomas at bartelmess.io)
CC: thomas at bartelmess.io
Created attachment 182001
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=182001&action=edit
v1 patch incomplete
# Changes
- bump version to 2.2.3
- previous daemon script would not actually stop graylog so lets steal the
net-mgmt/riemann rc.d script
- merge in some more JVM tuning
The new rc.d script uses daemon(8) which ensures graylog starts & stops cleanly
however console output is lost.
The current rc.d script has a configurable log file parameter which clearly
doesn't do anything at all. AFAICT we should add:
-Dlog4j.configurationFile=${graylog_log_file}
to our java_options, and then have a valid log4j xml file, but that escapes
me for the moment. See http://logging.apache.org/log4j/2.x/ &
http://docs.graylog.org/en/2.2/pages/configuration/file_location.html#default-file-location
for more info. I'm sure we can get graylog to do this directly so expect an
updated patch once upstream helps me out with the info.
# QA
- portlint OK
WARN: Makefile: possible use of absolute pathname "/var/db/graylog".
- tested on 11.0Rp8 amd64 and 12.0-CURRENT amd64
- poudriere run OK on 10.3/11.0 both i386/amd64
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list