Logging format 1.5?

I don’t get it, if you don’t have any experience with coding logging/levels why don’t look at some other databases?
Spot the differences, if you find them I have for you special super patches ‘Earned First researcher’, ‘Earned Einstein’, ‘Earned Syslog super expert’ (oh and influxdb is sort of testing here, we have a lot more data/db’s in the others).

service stop / service start at info level

Mar 9 18:28:39 db1 systemd: Stopping MariaDB database server…
Mar 9 18:28:39 db1 systemd: Stopping MariaDB database server…
Mar 9 18:28:42 db1 systemd: Starting MariaDB database server…
Mar 9 18:28:42 db1 systemd: Starting MariaDB database server…
Mar 9 18:28:42 db1 mariadb-prepare-db-dir: Database MariaDB is probably initialized in /var/lib/mysql already, nothing is done.
Mar 9 18:28:42 db1 mariadb-prepare-db-dir: Database MariaDB is probably initialized in /var/lib/mysql already, nothing is done.
Mar 9 18:28:42 db1 mariadb-prepare-db-dir: If this is not the case, make sure the /var/lib/mysql is empty before running mariadb-prepare-db-dir.
Mar 9 18:28:42 db1 mariadb-prepare-db-dir: If this is not the case, make sure the /var/lib/mysql is empty before running mariadb-prepare-db-dir.
Mar 9 18:28:43 db1 mysqld_safe: 180309 18:28:43 mysqld_safe Logging to ‘/var/log/mariadb/mariadb.log’.
Mar 9 18:28:43 db1 mysqld_safe: 180309 18:28:43 mysqld_safe Logging to ‘/var/log/mariadb/mariadb.log’.
Mar 9 18:28:45 db1 systemd: Started MariaDB database server.
Mar 9 18:28:45 db1 systemd: Started MariaDB database server.

Mar 9 18:31:57 db1 systemd: Stopping PostgreSQL 9.5 database server…
Mar 9 18:31:57 db1 systemd: Stopping PostgreSQL 9.5 database server…
Mar 9 18:31:58 db1 systemd: Stopped PostgreSQL 9.5 database server.
Mar 9 18:31:58 db1 systemd: Stopped PostgreSQL 9.5 database server.
Mar 9 18:32:11 db1 systemd: Starting PostgreSQL 9.5 database server…
Mar 9 18:32:11 db1 systemd: Starting PostgreSQL 9.5 database server…
Mar 9 18:32:12 db1 pg_ctl: LOG: redirecting log output to logging collector process
Mar 9 18:32:12 db1 pg_ctl: LOG: redirecting log output to logging collector process
Mar 9 18:32:12 db1 pg_ctl: HINT: Future log output will appear in directory “pg_log”.
Mar 9 18:32:12 db1 pg_ctl: HINT: Future log output will appear in directory “pg_log”.
Mar 9 18:32:12 db1 systemd: Started PostgreSQL 9.5 database server.
Mar 9 18:32:12 db1 systemd: Started PostgreSQL 9.5 database server.

Mar 9 18:37:54 db1 systemd: Starting Cleanup of Temporary Directories…
Mar 9 18:37:54 db1 systemd: Starting Cleanup of Temporary Directories…
Mar 9 18:37:54 db1 systemd: Started Cleanup of Temporary Directories.
Mar 9 18:37:54 db1 systemd: Started Cleanup of Temporary Directories.
Mar 9 18:38:02 db1 systemd: Stopping InfluxDB is an open-source, distributed, time series database…
Mar 9 18:38:02 db1 systemd: Stopping InfluxDB is an open-source, distributed, time series database…
Mar 9 18:38:02 db1 influxd: ts=2018-03-09T17:38:02.739999Z lvl=info msg=“Signal received, initializing clean shutdown…” log_id=06jxbnel000
Mar 9 18:38:02 db1 influxd: ts=2018-03-09T17:38:02.739999Z lvl=info msg=“Signal received, initializing clean shutdown…” log_id=06jxbnel000
Mar 9 18:38:02 db1 influxd: ts=2018-03-09T17:38:02.740137Z lvl=info msg=“Waiting for clean shutdown…” log_id=06jxbnel000
Mar 9 18:38:02 db1 influxd: ts=2018-03-09T17:38:02.740137Z lvl=info msg=“Waiting for clean shutdown…” log_id=06jxbnel000
Mar 9 18:38:02 db1 influxd: ts=2018-03-09T17:38:02.740196Z lvl=info msg=“Shutting down monitor service” log_id=06jxbnel000 service=monitor
Mar 9 18:38:02 db1 influxd: ts=2018-03-09T17:38:02.740196Z lvl=info msg=“Shutting down monitor service” log_id=06jxbnel000 service=monitor
Mar 9 18:38:02 db1 influxd: ts=2018-03-09T17:38:02.740258Z lvl=info msg=“Terminating storage of statistics” log_id=06jxbnel000 service=monitor
Mar 9 18:38:02 db1 influxd: ts=2018-03-09T17:38:02.740258Z lvl=info msg=“Terminating storage of statistics” log_id=06jxbnel000 service=monitor
Mar 9 18:38:02 db1 influxd: ts=2018-03-09T17:38:02.740312Z lvl=info msg=“Terminating precreation service” log_id=06jxbnel000 service=shard-precreation
Mar 9 18:38:02 db1 influxd: ts=2018-03-09T17:38:02.740312Z lvl=info msg=“Terminating precreation service” log_id=06jxbnel000 service=shard-precreation
Mar 9 18:38:02 db1 influxd: ts=2018-03-09T17:38:02.740387Z lvl=info msg=“Listener closed” log_id=06jxbnel000 service=snapshot
Mar 9 18:38:02 db1 influxd: ts=2018-03-09T17:38:02.740387Z lvl=info msg=“Listener closed” log_id=06jxbnel000 service=snapshot
Mar 9 18:38:02 db1 influxd: ts=2018-03-09T17:38:02.740423Z lvl=info msg=“Terminating continuous query service” log_id=06jxbnel000 service=continuous_querier
Mar 9 18:38:02 db1 influxd: ts=2018-03-09T17:38:02.740423Z lvl=info msg=“Terminating continuous query service” log_id=06jxbnel000 service=continuous_querier
Mar 9 18:38:02 db1 influxd: ts=2018-03-09T17:38:02.740454Z lvl=info msg=“Closing retention policy enforcement service” log_id=06jxbnel000 service=retention
Mar 9 18:38:02 db1 influxd: ts=2018-03-09T17:38:02.740454Z lvl=info msg=“Closing retention policy enforcement service” log_id=06jxbnel000 service=retention
Mar 9 18:38:02 db1 influxd: ts=2018-03-09T17:38:02.757806Z lvl=info msg=“Server shutdown completed” log_id=06jxbnel000
Mar 9 18:38:02 db1 influxd: ts=2018-03-09T17:38:02.757806Z lvl=info msg=“Server shutdown completed” log_id=06jxbnel000
Mar 9 18:38:02 db1 systemd: Stopped InfluxDB is an open-source, distributed, time series database.
Mar 9 18:38:02 db1 systemd: Stopped InfluxDB is an open-source, distributed, time series database.
Mar 9 18:43:48 db1 influxd: ts=2018-03-09T17:43:48.993473Z lvl=info msg=“InfluxDB starting” log_id=06jycx0G000 version=1.5.0 branch=1.5 commit=6ac835404e7e64ea7299a6eebcce1ab1ef15fe3c
Mar 9 18:43:48 db1 influxd: ts=2018-03-09T17:43:48.993473Z lvl=info msg=“InfluxDB starting” log_id=06jycx0G000 version=1.5.0 branch=1.5 commit=6ac835404e7e64ea7299a6eebcce1ab1ef15fe3c
Mar 9 18:43:48 db1 influxd: ts=2018-03-09T17:43:48.994260Z lvl=info msg=“Go runtime” log_id=06jycx0G000 version=go1.9.2 maxprocs=1
Mar 9 18:43:48 db1 influxd: ts=2018-03-09T17:43:48.994260Z lvl=info msg=“Go runtime” log_id=06jycx0G000 version=go1.9.2 maxprocs=1
Mar 9 18:43:49 db1 influxd: ts=2018-03-09T17:43:49.095938Z lvl=info msg=“Using data dir” log_id=06jycx0G000 service=store path=/var/lib/influxdb/data
Mar 9 18:43:49 db1 influxd: ts=2018-03-09T17:43:49.095938Z lvl=info msg=“Using data dir” log_id=06jycx0G000 service=store path=/var/lib/influxdb/data
Mar 9 18:43:49 db1 influxd: ts=2018-03-09T17:43:49.096994Z lvl=info msg=“Open store (start)” log_id=06jycx0G000 service=store trace_id=06jycxQ0000 op_name=tsdb_open op_event=start
Mar 9 18:43:49 db1 influxd: ts=2018-03-09T17:43:49.096994Z lvl=info msg=“Open store (start)” log_id=06jycx0G000 service=store trace_id=06jycxQ0000 op_name=tsdb_open op_event=start
Mar 9 18:43:49 db1 influxd: ts=2018-03-09T17:43:49.572423Z lvl=info msg=“Reading file” log_id=06jycx0G000 engine=tsm1 service=cacheloader path=/var/lib/influxdb/wal/_internal/monitor/5/_00001.wal size=65584
Mar 9 18:43:49 db1 influxd: ts=2018-03-09T17:43:49.572423Z lvl=info msg=“Reading file” log_id=06jycx0G000 engine=tsm1 service=cacheloader path=/var/lib/influxdb/wal/_internal/monitor/5/_00001.wal size=65584
Mar 9 18:43:50 db1 influxd: ts=2018-03-09T17:43:50.121012Z lvl=info msg=“Opened shard” log_id=06jycx0G000 service=store trace_id=06jycxQ0000 op_name=tsdb_open path=/var/lib/influxdb/data/_internal/monitor/5 duration=551.181ms
Mar 9 18:43:50 db1 influxd: ts=2018-03-09T17:43:50.121012Z lvl=info msg=“Opened shard” log_id=06jycx0G000 service=store trace_id=06jycxQ0000 op_name=tsdb_open path=/var/lib/influxdb/data/_internal/monitor/5 duration=551.181ms
Mar 9 18:43:50 db1 influxd: ts=2018-03-09T17:43:50.122203Z lvl=info msg=“Opened shard” log_id=06jycx0G000 service=store trace_id=06jycxQ0000 op_name=tsdb_open path=/var/lib/influxdb/data/_internal/monitor/1 duration=0.511ms
Mar 9 18:43:50 db1 influxd: ts=2018-03-09T17:43:50.122203Z lvl=info msg=“Opened shard” log_id=06jycx0G000 service=store trace_id=06jycxQ0000 op_name=tsdb_open path=/var/lib/influxdb/data/_internal/monitor/1 duration=0.511ms
Mar 9 18:43:50 db1 influxd: ts=2018-03-09T17:43:50.123825Z lvl=info msg=“Opened shard” log_id=06jycx0G000 service=store trace_id=06jycxQ0000 op_name=tsdb_open path=/var/lib/influxdb/data/_internal/monitor/2 duration=0.484ms
Mar 9 18:43:50 db1 influxd: ts=2018-03-09T17:43:50.123825Z lvl=info msg=“Opened shard” log_id=06jycx0G000 service=store trace_id=06jycxQ0000 op_name=tsdb_open path=/var/lib/influxdb/data/_internal/monitor/2 duration=0.484ms
Mar 9 18:43:50 db1 influxd: ts=2018-03-09T17:43:50.124701Z lvl=info msg=“Opened shard” log_id=06jycx0G000 service=store trace_id=06jycxQ0000 op_name=tsdb_open path=/var/lib/influxdb/data/_internal/monitor/3 duration=0.396ms
Mar 9 18:43:50 db1 influxd: ts=2018-03-09T17:43:50.124701Z lvl=info msg=“Opened shard” log_id=06jycx0G000 service=store trace_id=06jycxQ0000 op_name=tsdb_open path=/var/lib/influxdb/data/_internal/monitor/3 duration=0.396ms
Mar 9 18:43:50 db1 influxd: ts=2018-03-09T17:43:50.261705Z lvl=info msg=“Opened file” log_id=06jycx0G000 engine=tsm1 service=filestore path=/var/lib/influxdb/data/_internal/monitor/313/000000002-000000002.tsm id=0 duration=136.034ms
Mar 9 18:43:50 db1 influxd: ts=2018-03-09T17:43:50.261705Z lvl=info msg=“Opened file” log_id=06jycx0G000 engine=tsm1 service=filestore path=/var/lib/influxdb/data/_internal/monitor/313/000000002-000000002.tsm id=0 duration=136.034ms
Mar 9 18:43:50 db1 influxd: ts=2018-03-09T17:43:50.386183Z lvl=info msg=“Opened shard” log_id=06jycx0G000 service=store trace_id=06jycxQ0000 op_name=tsdb_open path=/var/lib/influxdb/data/_internal/monitor/313 duration=260.984ms
Mar 9 18:43:50 db1 influxd: ts=2018-03-09T17:43:50.386183Z lvl=info msg=“Opened shard” log_id=06jycx0G000 service=store trace_id=06jycxQ0000 op_name=tsdb_open path=/var/lib/influxdb/data/_internal/monitor/313 duration=260.984ms
Mar 9 18:43:50 db1 influxd: ts=2018-03-09T17:43:50.532765Z lvl=info msg=“Opened file” log_id=06jycx0G000 engine=tsm1 service=filestore path=/var/lib/influxdb/data/_internal/monitor/314/000000011-000000003.tsm id=0 duration=145.179ms
Mar 9 18:43:50 db1 influxd: ts=2018-03-09T17:43:50.532765Z lvl=info msg=“Opened file” log_id=06jycx0G000 engine=tsm1 service=filestore path=/var/lib/influxdb/data/_internal/monitor/314/000000011-000000003.tsm id=0 duration=145.179ms
Mar 9 18:43:50 db1 influxd: ts=2018-03-09T17:43:50.658432Z lvl=info msg=“Opened shard” log_id=06jycx0G000 service=store trace_id=06jycxQ0000 op_name=tsdb_open path=/var/lib/influxdb/data/_internal/monitor/314 duration=272.177ms
Mar 9 18:43:50 db1 influxd: ts=2018-03-09T17:43:50.658432Z lvl=info msg=“Opened shard” log_id=06jycx0G000 service=store trace_id=06jycxQ0000 op_name=tsdb_open path=/var/lib/influxdb/data/_internal/monitor/314 duration=272.177ms
Mar 9 18:43:50 db1 influxd: ts=2018-03-09T17:43:50.739087Z lvl=info msg=“Opened file” log_id=06jycx0G000 engine=tsm1 service=filestore path=/var/lib/influxdb/data/_internal/monitor/39/000000015-000000002.tsm id=0 duration=78.849ms
Mar 9 18:43:50 db1 influxd: ts=2018-03-09T17:43:50.739087Z lvl=info msg=“Opened file” log_id=06jycx0G000 engine=tsm1 service=filestore path=/var/lib/influxdb/data/_internal/monitor/39/000000015-000000002.tsm id=0 duration=78.849ms
Mar 9 18:43:50 db1 influxd: ts=2018-03-09T17:43:50.857717Z lvl=info msg=“Opened shard” log_id=06jycx0G000 service=store trace_id=06jycxQ0000 op_name=tsdb_open path=/var/lib/influxdb/data/_internal/monitor/39 duration=198.214ms
Mar 9 18:43:50 db1 influxd: ts=2018-03-09T17:43:50.857717Z lvl=info msg=“Opened shard” log_id=06jycx0G000 service=store trace_id=06jycxQ0000 op_name=tsdb_open path=/var/lib/influxdb/data/_internal/monitor/39 duration=198.214ms
Mar 9 18:43:50 db1 influxd: ts=2018-03-09T17:43:50.884174Z lvl=info msg=“Opened file” log_id=06jycx0G000 engine=tsm1 service=filestore path=/var/lib/influxdb/data/_internal/monitor/4/000000001-000000001.tsm id=0 duration=24.846ms
Mar 9 18:43:50 db1 influxd: ts=2018-03-09T17:43:50.884174Z lvl=info msg=“Opened file” log_id=06jycx0G000 engine=tsm1 service=filestore path=/var/lib/influxdb/data/_internal/monitor/4/000000001-000000001.tsm id=0 duration=24.846ms
Mar 9 18:43:51 db1 influxd: ts=2018-03-09T17:43:51.033859Z lvl=info msg=“Opened shard” log_id=06jycx0G000 service=store trace_id=06jycxQ0000 op_name=tsdb_open path=/var/lib/influxdb/data/_internal/monitor/4 duration=175.252ms
Mar 9 18:43:51 db1 influxd: ts=2018-03-09T17:43:51.033859Z lvl=info msg=“Opened shard” log_id=06jycx0G000 service=store trace_id=06jycxQ0000 op_name=tsdb_open path=/var/lib/influxdb/data/_internal/monitor/4 duration=175.252ms
Mar 9 18:43:51 db1 influxd: ts=2018-03-09T17:43:51.181530Z lvl=info msg=“Opened file” log_id=06jycx0G000 engine=tsm1 service=filestore path=/var/lib/influxdb/data/_internal/monitor/41/000000015-000000002.tsm id=0 duration=145.385ms
Mar 9 18:43:51 db1 influxd: ts=2018-03-09T17:43:51.181530Z lvl=info msg=“Opened file” log_id=06jycx0G000 engine=tsm1 service=filestore path=/var/lib/influxdb/data/_internal/monitor/41/000000015-000000002.tsm id=0 duration=145.385ms
Mar 9 18:43:51 db1 influxd: ts=2018-03-09T17:43:51.609149Z lvl=info msg=“Opened shard” log_id=06jycx0G000 service=store trace_id=06jycxQ0000 op_name=tsdb_open path=/var/lib/influxdb/data/_internal/monitor/41 duration=574.115ms
Mar 9 18:43:51 db1 influxd: ts=2018-03-09T17:43:51.609149Z lvl=info msg=“Opened shard” log_id=06jycx0G000 service=store trace_id=06jycxQ0000 op_name=tsdb_open path=/var/lib/influxdb/data/_internal/monitor/41 duration=574.115ms
Mar 9 18:43:51 db1 influxd: ts=2018-03-09T17:43:51.817862Z lvl=info msg=“Opened file” log_id=06jycx0G000 engine=tsm1 service=filestore path=/var/lib/influxdb/data/_internal/monitor/42/000000015-000000002.tsm id=0 duration=207.866ms
Mar 9 18:43:51 db1 influxd: ts=2018-03-09T17:43:51.817862Z lvl=info msg=“Opened file” log_id=06jycx0G000 engine=tsm1 service=filestore path=/var/lib/influxdb/data/_internal/monitor/42/000000015-000000002.tsm id=0 duration=207.866ms
Mar 9 18:43:53 db1 influxd: ts=2018-03-09T17:43:53.344139Z lvl=info msg=“Opened shard” log_id=06jycx0G000 service=store trace_id=06jycxQ0000 op_name=tsdb_open path=/var/lib/influxdb/data/_internal/monitor/42 duration=1734.890ms
Mar 9 18:43:53 db1 influxd: ts=2018-03-09T17:43:53.344139Z lvl=info msg=“Opened shard” log_id=06jycx0G000 service=store trace_id=06jycxQ0000 op_name=tsdb_open path=/var/lib/influxdb/data/_internal/monitor/42 duration=1734.890ms
Mar 9 18:43:53 db1 influxd: ts=2018-03-09T17:43:53.629683Z lvl=info msg=“Opened file” log_id=06jycx0G000 engine=tsm1 service=filestore path=/var/lib/influxdb/data/_internal/monitor/44/000000015-000000002.tsm id=0 duration=284.919ms
Mar 9 18:43:53 db1 influxd: ts=2018-03-09T17:43:53.629683Z lvl=info msg=“Opened file” log_id=06jycx0G000 engine=tsm1 service=filestore path=/var/lib/influxdb/data/_internal/monitor/44/000000015-000000002.tsm id=0 duration=284.919ms
Mar 9 18:43:53 db1 influxd: ts=2018-03-09T17:43:53.819134Z lvl=info msg=“Opened shard” log_id=06jycx0G000 service=store trace_id=06jycxQ0000 op_name=tsdb_open path=/var/lib/influxdb/data/_internal/monitor/44 duration=474.930ms
Mar 9 18:43:53 db1 influxd: ts=2018-03-09T17:43:53.819134Z lvl=info msg=“Opened shard” log_id=06jycx0G000 service=store trace_id=06jycxQ0000 op_name=tsdb_open path=/var/lib/influxdb/data/_internal/monitor/44 duration=474.930ms
Mar 9 18:43:53 db1 influxd: ts=2018-03-09T17:43:53.941330Z lvl=info msg=“Opened file” log_id=06jycx0G000 engine=tsm1 service=filestore path=/var/lib/influxdb/data/_internal/monitor/45/000000010-000000002.tsm id=0 duration=120.300ms
Mar 9 18:43:53 db1 influxd: ts=2018-03-09T17:43:53.941330Z lvl=info msg=“Opened file” log_id=06jycx0G000 engine=tsm1 service=filestore path=/var/lib/influxdb/data/_internal/monitor/45/000000010-000000002.tsm id=0 duration=120.300ms
Mar 9 18:43:54 db1 influxd: ts=2018-03-09T17:43:54.074697Z lvl=info msg=“Opened shard” log_id=06jycx0G000 service=store trace_id=06jycxQ0000 op_name=tsdb_open path=/var/lib/influxdb/data/_internal/monitor/45 duration=254.443ms
Mar 9 18:43:54 db1 influxd: ts=2018-03-09T17:43:54.074697Z lvl=info msg=“Opened shard” log_id=06jycx0G000 service=store trace_id=06jycxQ0000 op_name=tsdb_open path=/var/lib/influxdb/data/_internal/monitor/45 duration=254.443ms
Mar 9 18:43:54 db1 influxd: ts=2018-03-09T17:43:54.230532Z lvl=info msg=“Opened file” log_id=06jycx0G000 engine=tsm1 service=filestore path=/var/lib/influxdb/data/_internal/monitor/46/000000015-000000002.tsm id=0 duration=153.833ms
Mar 9 18:43:54 db1 influxd: ts=2018-03-09T17:43:54.230532Z lvl=info msg=“Opened file” log_id=06jycx0G000 engine=tsm1 service=filestore path=/var/lib/influxdb/data/_internal/monitor/46/000000015-000000002.tsm id=0 duration=153.833ms
Mar 9 18:43:54 db1 influxd: ts=2018-03-09T17:43:54.690199Z lvl=info msg=“Opened shard” log_id=06jycx0G000 service=store trace_id=06jycxQ0000 op_name=tsdb_open path=/var/lib/influxdb/data/_internal/monitor/46 duration=614.488ms
Mar 9 18:43:54 db1 influxd: ts=2018-03-09T17:43:54.690199Z lvl=info msg=“Opened shard” log_id=06jycx0G000 service=store trace_id=06jycxQ0000 op_name=tsdb_open path=/var/lib/influxdb/data/_internal/monitor/46 duration=614.488ms
Mar 9 18:43:54 db1 influxd: ts=2018-03-09T17:43:54.694271Z lvl=info msg=“Opened file” log_id=06jycx0G000 engine=tsm1 service=filestore path=/var/lib/influxdb/data/_internal/monitor/47/000000012-000000001.tsm id=3 duration=1.594ms

AND THERE IS EVEN MORE!!!

PS. and stop censoring my messages, otherwise I will start posting on reddit

I have to give the Earned “dumb development”.
Because of adding this ts=2018-03-16T17:07:36.453579 unique field, syslog is not grouping anymore, thanks !@#%$@#$% !!!

Hi f1outsourcing,
Despite the poor tone of your post, I’ll attempt to engage here. In the future, please be respectful of everyone on this community including the wonderful people that create free software for you to use.

I’m trying to read through your snark and what I interpret from your post is that the logging in InfluxDB is too verbose. Is that correct? It would help if you give specific requests about what you’d like to see changed. Parts of the log can be turned on and off through configuration based on user preference.

If you want to write up a reply that is a bit more detailed about what you’re seeing that you would like not to see, or otherwise, please do so and we’ll be happy to have a conversation with you and listen.

Paul Dix

3 Likes

Paul,

I agree, it is good that people are creating this and putting time in it for all to use.

But that doesn’t necessarily mean, you have to be glad with whatever is being produced. I think you can be harsh sometimes, because people should know something went bad, so next time they can be more careful.
There is for a reason a saying ‘easy going doctors create smelly wounds’.
You are also not telling a dentist he is wonderful and lovely if he offers brain surgery (for free) on the weekend.

What in my opinion is wrong (in this case, and could have been prevent with a better approach), is that your default logging changed to field=value field=value field=value (and there is no option to switch it back)
Furthermore because of this change

this
Mar 9 14:46:26 db1 influxd: [I] 2018-03-09T13:46:26Z Dropping point ceph_value: NaN is an unsupported value for field value service=collectd
Mar 9 17:59:35 db1 influxd: last message repeated 132 times

becomes this
Mar 16 18:09:26 db1 influxd: ts=2018-03-16T17:09:26.446561Z lvl=info msg=“Dropping point” log_id=06sw~E3W000 service=collectd name=ceph_value error=“NaN is an unsupported value for field value”
Mar 16 18:09:26 db1 influxd: ts=2018-03-16T17:09:26.446580Z lvl=info msg=“Dropping point” log_id=06sw~E3W000 service=collectd name=ceph_value error=“NaN is an unsupported value for field value”
Mar 16 18:09:26 db1 influxd: ts=2018-03-16T17:09:26.446601Z lvl=info msg=“Dropping point” log_id=06sw~E3W000 service=collectd name=ceph_value error=“NaN is an unsupported value for field value”
Mar 16 18:09:26 db1 influxd: ts=2018-03-16T17:09:26.446632Z lvl=info msg=“Dropping point” log_id=06sw~E3W000 service=collectd name=ceph_value error=“NaN is an unsupported value for field value”
Mar 16 18:09:26 db1 influxd: ts=2018-03-16T17:09:26.446664Z lvl=info msg=“Dropping point” log_id=06sw~E3W000 service=collectd name=ceph_value error=“NaN is an unsupported value for field value”
Mar 16 18:09:26 db1 influxd: ts=2018-03-16T17:09:26.446692Z lvl=info msg=“Dropping point” log_id=06sw~E3W000 service=collectd name=ceph_value error=“NaN is an unsupported value for field value”
Mar 16 18:09:26 db1 influxd: ts=2018-03-16T17:09:26.446728Z lvl=info msg=“Dropping point” log_id=06sw~E3W000 service=collectd name=ceph_value error=“NaN is an unsupported value for field value”
Mar 16 18:09:26 db1 influxd: ts=2018-03-16T17:09:26.446750Z lvl=info msg=“Dropping point” log_id=06sw~E3W000 service=collectd name=ceph_value error=“NaN is an unsupported value for field value”
Mar 16 18:09:26 db1 influxd: ts=2018-03-16T17:09:26.446803Z lvl=info msg=“Dropping point” log_id=06sw~E3W000 service=collectd name=ceph_value error=“NaN is an unsupported value for field value”
Mar 16 18:09:26 db1 influxd: ts=2018-03-16T17:09:26.446823Z lvl=info msg=“Dropping point” log_id=06sw~E3W000 service=collectd name=ceph_value error=“NaN is an unsupported value for field value”
Mar 16 18:09:26 db1 influxd: ts=2018-03-16T17:09:26.446845Z lvl=info msg=“Dropping point” log_id=06sw~E3W000 service=collectd name=ceph_value error=“NaN is an unsupported value for field value”

Why? In 1.3 it was sort of like mysql, postgres. Most environments I presume are logging to syslog. If you want do some key value storing make a separate log format option for it. But stick with the default that has been chosen. People running LTS versions like things to stay as much as possible to the default.
I am just testing with influxdb, so I don’t really know to much about it, and thus cannot advice on how this should be done. But it indeed looks like quite verbose for just the info logging level and starting the db. You can also decide to maintain an LTS repo.

1 Like