On Thursday, March 21, 2019 at 12:57:36 PM UTC-4, Mike Orr wrote:

>
> If the reason you want to know whether you're running under bootstrap 
> is to determine whether logging has been configured, 
>

We log every startup/invocation of the app/scripts to a centralized 
database.

There's a table that lists every startup with a timestamp and the context - 
uwsgi/waitress workers, prequest, and bootstrap, along with a node 
identifier for the machine and some other data.  

It is one of the systems used for healthchecks, to ensure everything is 
running properly and help auditing during post-mortem incident analysis.  
The raw logs often get cycled into oblivion or destroyed, so this helps us 
pinpoint where to dig in to data first by detecting when cronjobs stopped 
running or when applications spiraled into endless restarts.  Other tools 
ensure services are running or jobs have completed, this is just one useful 
component of monitoring.

-- 
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to pylons-discuss+unsubscr...@googlegroups.com.
To post to this group, send email to pylons-discuss@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/pylons-discuss/9e924119-54ba-4b55-915c-58067c48f66b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to