I am running several docker images, one of them is EOSIO blockchain. The block production log it produces fills the terminal. I don't want to see it, the logs of other containers are much more important, and not the blockchain's logs.
I don't want to detach from all containers, and docker-compose does let you detach from only one container.
I tried to redirect the logs into a file. But there comes another problem. When I stop the container with Ctrl+C, the next time I run, I got 'database dirty flag set' which means abnormal exit. I can add '--hard-replay', but it's not the right way, I think.