rokett / Citrix-NetScaler-Exporter

Prometheus exporter for Citrix NetScaler
https://github.com/rokett/Citrix-NetScaler-Exporter
MIT License
20 stars 16 forks source link

Logging does not update the bind port #43

Closed rokett closed 4 years ago

rokett commented 4 years ago

The init function sets the initial logger, which means it runs before the flags are parsed.

Need it move it into main in order to ensure flags are parsed before setting the logger up.