I would rather see only critical messages from ppm-agent in my system log.
Can I configure the level of verbosity in which it logs to syslog?
There’re way too many messages in /var/log/messages, like these:
Dec 11 17:56:39 pxc-3-euw-1 pmm-agent[822]: #033[36mINFO#033[0m[2020-12-11T17:56:39.387+00:00] time=“2020-12-11T17:56:39Z” level=info msg=“database version 8.0.20-11.3, distro Percona XtraDB Cluster (GPL), Release rel11, Revision d9fba7f, WSREP version 26.4.3” source=“slave_status.go:72” #033[36magentID#033[0m=/agent_id/86327eba-0c8c-4566-a5ac-abdf7db64c84 #033[36mcomponent#033[0m=agent-process #033[36mtype#033[0m=mysqld_exporter
Dec 11 17:56:39 pxc-3-euw-1 pmm-agent[822]: #033[36mINFO#033[0m[2020-12-11T17:56:39.393+00:00] time="2020-12-11T17:56:39Z" level=info msg="Successfully scraped status with query: SHOW SLAVE STATUS" source="slave_status.go:113" #033[36magentID#033[0m=/agent_id/86327eba-0c8c-4566-a5ac-abdf7db64c84 #033[36mcomponent#033[0m=agent-process #033[36mtype#033[0m=mysqld_exporter
Dec 11 17:56:49 pxc-3-euw-1 pmm-agent[822]: #033[36mINFO#033[0m[2020-12-11T17:56:49.387+00:00] time="2020-12-11T17:56:49Z" level=info msg="database version 8.0.20-11.3, distro Percona XtraDB Cluster (GPL), Release rel11, Revision d9fba7f, WSREP version 26.4.3" source="slave_status.go:72" #033[36magentID#033[0m=/agent_id/86327eba-0c8c-4566-a5ac-abdf7db64c84 #033[36mcomponent#033[0m=agent-process #033[36mtype#033[0m=mysqld_exporter
Dec 11 17:56:49 pxc-3-euw-1 pmm-agent[822]: #033[36mINFO#033[0m[2020-12-11T17:56:49.395+00:00] time="2020-12-11T17:56:49Z" level=info msg="Successfully scraped status with query: SHOW SLAVE STATUS" source="slave_status.go:113" #033[36magentID#033[0m=/agent_id/86327eba-0c8c-4566-a5ac-abdf7db64c84 #033[36mcomponent#033[0m=agent-process #033[36mtype#033[0m=mysqld_exporter
Dec 11 17:56:59 pxc-3-euw-1 pmm-agent[822]: #033[36mINFO#033[0m[2020-12-11T17:56:59.387+00:00] time="2020-12-11T17:56:59Z" level=info msg="database version 8.0.20-11.3, distro Percona XtraDB Cluster (GPL), Release rel11, Revision d9fba7f, WSREP version 26.4.3" source="slave_status.go:72" #033[36magentID#033[0m=/agent_id/86327eba-0c8c-4566-a5ac-abdf7db64c84 #033[36mcomponent#033[0m=agent-process #033[36mtype#033[0m=mysqld_exporter
Dec 11 17:56:59 pxc-3-euw-1 pmm-agent[822]: #033[36mINFO#033[0m[2020-12-11T17:56:59.391+00:00] time="2020-12-11T17:56:59Z" level=info msg="Successfully scraped status with query: SHOW SLAVE STATUS" source="slave_status.go:113" #033[36magentID#033[0m=/agent_id/86327eba-0c8c-4566-a5ac-abdf7db64c84 #033[36mcomponent#033[0m=agent-process #033[36mtype#033[0m=mysqld_exporter
Dec 11 17:57:00 pxc-3-euw-1 pmm-agent[822]: #033[36mINFO#033[0m[2020-12-11T17:57:00.001+00:00] Sending 50 buckets. #033[36magentID#033[0m=/agent_id/9098b93e-b65b-4e3f-a2d6-3c432ae32870 #033[36mcomponent#033[0m=agent-builtin #033[36mtype#033[0m=qan_mysql_slowlog_agent
Dec 11 17:57:09 pxc-3-euw-1 pmm-agent[822]: #033[36mINFO#033[0m[2020-12-11T17:57:09.386+00:00] time="2020-12-11T17:57:09Z" level=info msg="database version 8.0.20-11.3, distro Percona XtraDB Cluster (GPL), Release rel11, Revision d9fba7f, WSREP version 26.4.3" source="slave_status.go:72" #033[36magentID#033[0m=/agent_id/86327eba-0c8c-4566-a5ac-abdf7db64c84 #033[36mcomponent#033[0m=agent-process #033[36mtype#033[0m=mysqld_exporter
Dec 11 17:57:09 pxc-3-euw-1 pmm-agent[822]: #033[36mINFO#033[0m[2020-12-11T17:57:09.388+00:00] time="2020-12-11T17:57:09Z" level=info msg="Successfully scraped status with query: SHOW SLAVE STATUS" source="slave_status.go:113" #033[36magentID#033[0m=/agent_id/86327eba-0c8c-4566-a5ac-abdf7db64c84 #033[36mcomponent#033[0m=agent-process #033[36mtype#033[0m=mysqld_exporter
Dec 11 17:57:19 pxc-3-euw-1 pmm-agent[822]: #033[36mINFO#033[0m[2020-12-11T17:57:19.389+00:00] time="2020-12-11T17:57:19Z" level=info msg="database version 8.0.20-11.3, distro Percona XtraDB Cluster (GPL), Release rel11, Revision d9fba7f, WSREP version 26.4.3" source="slave_status.go:72" #033[36magentID#033[0m=/agent_id/86327eba-0c8c-4566-a5ac-abdf7db64c84 #033[36mcomponent#033[0m=agent-process #033[36mtype#033[0m=mysqld_exporter
Dec 11 17:57:19 pxc-3-euw-1 pmm-agent[822]: #033[36mINFO#033[0m[2020-12-11T17:57:19.392+00:00] time="2020-12-11T17:57:19Z" level=info msg="Successfully scraped status with query: SHOW SLAVE STATUS" source="slave_status.go:113" #033[36magentID#033[0m=/agent_id/86327eba-0c8c-4566-a5ac-abdf7db64c84 #033[36mcomponent#033[0m=agent-process #033[36mtype#033[0m=mysqld_exporter