The debug.log stream wasn't updating. Turns out we need to specify the log format is in UTC time not local time. Always we want to set log_stream_name to the {instance_id}. This lets us stream the logs to AWS CloudWatch where we can look at an individual stream or a combined stream in a log group. Nifty.
Update AWS CloudWatch log monitor config at /var/awslogs/etc/awslogs.conf
The
debug.log
stream wasn't updating. Turns out we need to specify the log format is in UTC time not local time. Always we want to setlog_stream_name
to the{instance_id}
. This lets us stream the logs to AWS CloudWatch where we can look at an individual stream or a combined stream in a log group. Nifty.Update AWS CloudWatch log monitor config at
/var/awslogs/etc/awslogs.conf
Be sure to restart the logging daemon:
sudo service awslogs restart
Probably a good idea to delete the
debug.log
file as well.