Skip to content

Commit f8906e2

Browse files
committed
use log.warn() for config warning so the prefix is present
Change-Id: I7b282a83fc700a8972522c1928a706ad73ed1078
1 parent bb158a0 commit f8906e2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

sqlalchemy_collectd/server/plugin.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ def start_plugin(config):
4141
if monitor_host is not None and monitor_port is not None:
4242
from sqlalchemy_collectd.connmon import plugin as connmon
4343

44-
collectd.warning(
44+
log.warn(
4545
"the connmon plugin should now be configured separately in its "
4646
"own <Module> section"
4747
)

0 commit comments

Comments
 (0)