Hi,

On 2/24/20 11:02 PM, rs vas wrote:
> How to configure Prometheus and Alertmanager write logs into a file?
> 
> I could not find any thing as argument to pass
> https://github.com/prometheus/alertmanager/blob/master/cmd/alertmanager/main.go#L186
Those binaries log to stderr, as do many other modern services.

The usual setup consists of running Prometheus via some service
supervisor (e.g. systemd) or container runtime (Docker).
Those systems usually support a way to capture those standardized logs
and forward them to some place of your liking (e.g. systemd's journald,
syslog, etc.).

How is Prometheus started in your case?

Kind regards,
Christian

-- 
You received this message because you are subscribed to the Google Groups 
"Prometheus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/prometheus-users/9b1e503e-7923-4e17-195a-81981769c5c6%40hoffmann-christian.info.

Reply via email to