zhmcclient / zhmc-prometheus-exporter

A Prometheus exporter for the IBM Z HMC
Apache License 2.0
15 stars 9 forks source link

ZHMC starting message in log shouldn't be WARNING. #394

Closed Charles1000Chen closed 11 months ago

Charles1000Chen commented 11 months ago

Describe the bug

When the zhmc prometheus exporter starts, it prints the following warning message in log:

2023-10-24 06:33:10+0000 WARNING zhmcexporter: ---------------- zhmc_prometheus_exporter started ----------------

Expected behavior

The zhmc prometheus exporter starting message should be "INFO", not "WARNING"

To Reproduce N/A

Environment information

Command output N/A

Log file N/A

andy-maier commented 11 months ago

The reason for setting this to WARNING level was to ensure that it is created most of the time. The message itself certainly does not have a warning semantics, so I'm ok with the change.