Re: Enable logging for databases/influxdb

2019-03-30 Thread Antoine Jacoutot
On Sat, Mar 30, 2019 at 12:05:35PM +0100, Joel Carnat wrote: > On Sat 30/03 09:30, Antoine Jacoutot wrote: > > On Fri, Mar 29, 2019 at 06:46:55PM +0100, Joel Carnat wrote: > > > On Fri 29/03 17:47, Antoine Jacoutot wrote: > > > > On Fri, Mar 29, 2019 at 05:18:17PM +0100, Joel Carnat wrote: > > > >

Re: Enable logging for databases/influxdb

2019-03-30 Thread Joel Carnat
On Sat 30/03 09:30, Antoine Jacoutot wrote: > On Fri, Mar 29, 2019 at 06:46:55PM +0100, Joel Carnat wrote: > > On Fri 29/03 17:47, Antoine Jacoutot wrote: > > > On Fri, Mar 29, 2019 at 05:18:17PM +0100, Joel Carnat wrote: > > > > Hi, > > > > > > > > InfluxDB doesn't seem to have an internal way to

Re: Enable logging for databases/influxdb

2019-03-30 Thread Antoine Jacoutot
On Fri, Mar 29, 2019 at 06:46:55PM +0100, Joel Carnat wrote: > On Fri 29/03 17:47, Antoine Jacoutot wrote: > > On Fri, Mar 29, 2019 at 05:18:17PM +0100, Joel Carnat wrote: > > > Hi, > > > > > > InfluxDB doesn't seem to have an internal way to forward its logs to a > > > file or syslog. As far as I

Re: Enable logging for databases/influxdb

2019-03-29 Thread Daniel Jakots
On Fri, 29 Mar 2019 18:46:55 +0100, Joel Carnat wrote: > On Fri 29/03 17:47, Antoine Jacoutot wrote: > > On Fri, Mar 29, 2019 at 05:18:17PM +0100, Joel Carnat wrote: > > > Hi, > > > > > > InfluxDB doesn't seem to have an internal way to forward its logs > > > to a file or syslog. As far as I u

Re: Enable logging for databases/influxdb

2019-03-29 Thread Joel Carnat
On Fri 29/03 17:47, Antoine Jacoutot wrote: > On Fri, Mar 29, 2019 at 05:18:17PM +0100, Joel Carnat wrote: > > Hi, > > > > InfluxDB doesn't seem to have an internal way to forward its logs to a > > file or syslog. As far as I understood, one has to get the information > > from STDOUT/STDERR. > >

Re: Enable logging for databases/influxdb

2019-03-29 Thread Antoine Jacoutot
On Fri, Mar 29, 2019 at 05:18:17PM +0100, Joel Carnat wrote: > Hi, > > InfluxDB doesn't seem to have an internal way to forward its logs to a > file or syslog. As far as I understood, one has to get the information > from STDOUT/STDERR. > > The following patch allows sending the logs to syslog. I

Enable logging for databases/influxdb

2019-03-29 Thread Joel Carnat
Hi, InfluxDB doesn't seem to have an internal way to forward its logs to a file or syslog. As far as I understood, one has to get the information from STDOUT/STDERR. The following patch allows sending the logs to syslog. It uses the logger(1) utility. It is based on what is done with sysutils/pro