Provides a ring buffer storage for your Heroku logs.
This is very much a work in progress project. There are many tasks remaining. The list below is merely a brain dump of ideas on where to take this project.
nitems from ring buffer
nitems from ring buffer then live tail
Click the button
There are several environment variables that you can tweak to customize your experienceName Default Description
1500Optional, controls the size of the ring buffer in log lines.
0.0.0.0Optional, controls which interface to listen on.
PORTN/A Required, controls which port to listen on, eg 5000.
memoryOptional, controls which backend to utilize. Available options are
memory store will keep the logs buffered in memory. If the application
restarts or crashes in anyway all the store logs are lost.
There is no additional configuration required for the
redis datastore will utilize redis to store the logs. The persistance of
the data in that redis datastore is completly up to the owner of that redis
In order to utlize the
memory datastore two additional environment variables
that can be customized.
REDIS_URLN/A Required, controls which redis to connect to. Automatically set when using a Heroku Redis.
4Optional, controls the number of available redis pooled connections.