So,
I have a Python application that uses the logging library and PyYAML to load a .yaml file containing the logging configuration.
Basically, it saves the logs in a series of .log files inside a folder in the application root (which is /app/log )
Now, I have correctly set up dual logging, and if I run the command docker log container_name
I can easily see basically the output I would have if I run the python application on the terminal.
I have read from the documentation that using local
as logging driver, they are stored somewhere but, how can I access them?
Also, as soon as I have multiple .log files in my application, how do I read each one of them, maybe in real-time as well? Do I need an external logging driver to do that or Docker uses some sort of file for each container?