beshralghalil
Custom logs files
I moved from using
pythonanywhere
to Railway
to host my discord bot.
I used to write logs to files as follows bot.log
, errors.log
, anddb.log
where errors.log contain errors from all other log files for fast errors tracking.
The problem is railway uses docker containers as far as I understand and I am not really into docker.
Is there a way to live read a log file specifically errors.log
from inside the service container? or I just have to change the way I handle logging?18 replies