![emailchemy log file location emailchemy log file location](https://i.ytimg.com/vi/e1ONEiyWQvs/hqdefault.jpg)
![emailchemy log file location emailchemy log file location](https://i.stack.imgur.com/zENYX.png)
Level=info time= msg="Event stream ContainerChange start listening." module=eventstream.go Level=info time= msg="Loading state!" module=statemanager.go Level=info time= msg="Creating cgroup /ecs" module=cgroup_controller_linux.go Level=info time= msg="Creating root ecs cgroup: /ecs" module=init_linux.go Level=info time= msg="Amazon ECS agent Version: 1.36.0, Commit: ca640387" module=agent.go Level=info time= msg="Image excluded from cleanup: amazon/amazon-ecs-pause:0.1.0" module=parse.go Level=info time= msg="Image excluded from cleanup: amazon/amazon-ecs-agent:latest" module=parse.go Level=info time= msg="Loading configuration" module=agent.go Older log files areįor container agent version 1.36.0 and later, the following is an example log file ECS_LOG_MAX_ROLL_COUNTĭetermines the number of rotated log files to keep. Size, this variable determines the maximum size (in MB) of the When the ECS_LOG_ROLLOVER_TYPE variable is set to Used, each line in the log will be a structured JSON map. ECS_LOG_OUTPUT_FORMATĭetermines the log output format. By default, the agent log file is rotated each hour. ECS_LOG_ROLLOVER_TYPEĭetermines whether the container agent log file will be rotated hourly or based on
EMAILCHEMY LOG FILE LOCATION DRIVER
If a logging driver isĮxplicitly set, on-instance logs are turned off by default, but can be Level that is logged in the logging driver. Is explicitly set to a non-empty value otherwise the same value asĮCS_LOG_DRIVER is explicitly set to a non-empty value Ĭan be used to override ECS_LOGLEVEL and set a level ofĭetail that should be logged in the on-instance log file, separate from the ECS_LOGLEVEL_ON_INSTANCEĭefault value on Linux: none, if ECS_LOG_DRIVER If you are running theĪgent via ecs-init, which is the default method when using theĪmazon ECS-optimized AMI, the in-container path will be /log andĮcs-init mounts that out to /var/log/ecs/ on The location where agent logs should be written.