Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 22 Apr 2017 14:13:04 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 218814] sysutils/graylog: update 2.2.2 -> 2.2.3 and fix daemon handling
Message-ID:  <bug-218814-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D218814

            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@FreeBSD.org
          Reporter: dch@skunkwerks.at
                CC: thomas@bartelmess.io
             Flags: maintainer-feedback?(thomas@bartelmess.io)
                CC: thomas@bartelmess.io

Created attachment 182001
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D182001&action=
=3Dedit
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 cle=
anly
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=3D${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#defau=
lt-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

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-218814-13>