I'm trying to integrating the official TiDB docker image with our appication for local development. I use docker-compose.yaml. When I run the TiDB docker container, it outputs lots of logs. It annoys me. It seems that the default log level is info according to the doc. I want to set a different log level such as error, fatal to decrease log volume. Then, I think I can use config.toml and put it to somewhere in the container by coping the config file from my local pc to the container. But I'm not sure which path should I put the config.
I searched the config file with find command in the tidb container. But I couldn't find the file.
You can use
-configto point out the config file that you want to use. For example,FYI: You can refer to these code blocks as examples.