Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Mar 2018 14:47:37 -0700
From:      Pete Wright <pete@nomadlogic.org>
To:        FreeBSD <freebsd-ports@freebsd.org>
Subject:   Syslog Example For InfluxDB Port
Message-ID:  <390b5f16-385c-f3cc-d4b6-75cb26cc88eb@nomadlogic.org>

next in thread | raw e-mail | index | archive | help
Hi There,
I am running Influxd on 11.1-RELEASE and am having issues getting it to 
log to syslogd.  The rc script for influxd starts the daemon like so:

influxd_startcmd_daemon()
{
     echo "Starting ${name}."
     /usr/sbin/daemon -c -p ${influxd_pidfile} -S -s ${influxd_priority} 
-l ${influxd_facility} \
         -u ${influxd_user} ${procname} ${influxd_options}
}

where:

: ${influxd_facility:="daemon"}
: ${influxd_priority:="info"}


I've added the following syslogd config as well:
daemon.*           /var/log/influxdb/influxd.log


Interestingly enough I'm unable to get log messages to end up in 
/var/log/influxdb/influxd.log.  When I manually run daemon, without any 
syslog flags passed, I do see plenty of logs ending up in stdout tho.  
I'm guessing I'm tired and missing something obvious - any other 
influxdb people have logging working as expected?

Cheers,
-pete

-- 
Pete Wright
pete@nomadlogic.org
@nomadlogicLA




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?390b5f16-385c-f3cc-d4b6-75cb26cc88eb>