This can be configure with Dockers log-opt option. A log file can grow so large that it fills up the disk space. As the container logging configuration for pre-existing container is immutable, existing containers do not use the new logging configuration and would need to be redeployed to take on this new configuration.Įdit the Docker daemon configuration file: $ vim /etc/docker/daemon. By default, Docker messages are sent with the tag docker.. Container logs by default are not configured to be rotated or limited to a max size by docker.In versions 7.27.0/6.27.0+, you can configure the Agent to collect Docker container logs from a file. File based collection offers better performance than socket based collection.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |