overmind icon indicating copy to clipboard operation
overmind copied to clipboard

Ability to turn off the Logging Prefix

Open jmortlock opened this issue 1 year ago • 3 comments

Hi

I am currently using overmind in a docker development setup where my application generates json logs and outputs them to a local grafana/loki setup so I can see whats going on. When i'm using overmind it will automatically prepend the process name before any log outputs which works great for STDOUT monitoring but not so much when i need json log messages.

Would it be possible to add another option to disable the log prefix entirely?

jmortlock avatar May 20 '24 02:05 jmortlock

Generally speaking, I'm not sure why you would need Overmind when using Docker. There are Docker Compose and dip that makes development in Docker pretty close to Overmind experience.

Envek avatar Jun 25 '24 09:06 Envek

Ignore the docker part; what I'm really interested in is keeping my logs in the format the application generates, which is JSON.

Overmind's manipulation of the logs whilst great if your using the terminal to view logs becomes a hindrance when trying to using a tool such as grafana/loki to work with the logs.

jmortlock avatar Jun 26 '24 06:06 jmortlock

I have a similar situation, I want to keep my logs to stdout just plain JSON but I'm not able to parse that correctly because of the prefix, since Procfile is the default for rails 7+ we still want to keep using that but it would be nice to have some way of set an option for the process names

matheusb96 avatar Sep 24 '24 17:09 matheusb96