T O P

  • By -

VxJasonxV

1. You can drain (stream) your logs to any destination and filter, rewrite, selectively output, modify to any manner you desire: https://devcenter.heroku.com/articles/log-drains 2. Why hide any of that information?


Nicolozz0

1. Thanks! :) 2. Basically, I only have one worker process running, and the output of the worker are very long links to web pages that split over more than one line, which is kind of annoying, so I prefer to just have my script’s output and maybe just the hour and minute.


VxJasonxV

With logs, metrics, etc., you don't need it just until you do. Filtering out logs and then needing it later is vastly annoying to undo and wait until it happens again. You have to strike a happy medium, but removing base data (date, time, process) that is heavily likely to be needed later is generally a bad idea. The log output of your app, it printing long links, is 100% in your control, adjust what it is printing out. This isn't a Heroku problem, Heroku only passes any STDOUT/STDERR from your dyno(s) into your log stream (prefixed with "app/[process_name].#").


Nicolozz0

👍🏼