using systemd as a service.

On Monday, February 24, 2020 at 3:12:41 PM UTC-7, Christian Hoffmann wrote:
>
> 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/7e745140-207d-4629-98e3-f662872936c3%40googlegroups.com.

Reply via email to