Open TiBarification opened 1 year ago
You can do this by using docker-compose logs 2>&1 | tee -a /path/to/file
(if you're not using docker-compose, just replace that part with however you are getting your logs, such as docker logs factorio-server
) from the host machine.
This will write all the logs to the relevant file, and then you can use tail -f /path/to/file
so that your terminal automatically reads it as the file gets appended with new logs. Hope this helps.
Looks like crutch, I think better would be to volume these files (factorio-previous.log, factorio-current.log). I used dockerized lgsm , which covers my requirements.
This issue has had no activity for the last 90 days. Do you still see this issue with the latest release? Please add a reply within 14 days or this issue will be automatically closed. To keep a confirmed issue open we can also add a "bug confirmed" tag.
Disclaimer: This is an open community project with limited resources. Any skilled member of the community may jump in at any time to fix this issue. That can take a while depending on our busy lives so please be patient, and take advantage of other resources to help solve the issue.
Is there any way to add it, so I can access to them without looking up each time to container.