I have to put legacy application into Docker container. The app is running fine but I cannot display all the log files. The problem is that the app is creating several log files (e.g.
service.log, license.log, security.log
mkfifo /path/to/app/license.log && tail -f /path/to/app/license.log &
mkfifo /path/to/app/security.log && tail -f /path/to/app/security.log &
Because it is a legacy application we still have to have the log files in place. In that case the solution that works for me is to create the files by
touch and read them using tail:
touch /path/to/app/logfile.log && tail -f /path/to/app/logfile.log &
touch solved my problem.