louking / tm-csv-connector

Time Machine - CSV Connector - creates CSV file from time machine input, for scoring software to read
Apache License 2.0
1 stars 0 forks source link

logging: tail container log(s) to host file(s) #73

Open louking opened 2 months ago

louking commented 2 months ago

As part of the install, we should start a service which tails the logs for a container to a well known log file.

E.g. docker logs --follow tm-csv-connector-app-1 >> $LOGGING_DIR/app.log

This could be done in a separate service for each container we want to have logs for.

Care should be taken that if the container restarts this doesn't kill the service.

ref: