We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I'm running aws-cloudwatchlogs v1.1.7 under chef-client 14.9.13 and everytime the aws_cwlogs resource is executed, the service is reload immediatelly.
aws_cwlogs
It's true that on the code seems to follow correctly the documentation, but it just keeps happening:
* aws_cwlogs[rss_app_error] action add * service[awslogs] action nothing (skipped due to action :nothing) * template[/var/awslogs/etc/config/rss_app_error.conf] action create - update content in file /var/awslogs/etc/config/rss_app_error.conf from 259cf0 to 9ecfe1 --- /var/awslogs/etc/config/rss_app_error.conf 2019-05-10 12:16:21.996152948 +0000 +++ /var/awslogs/etc/config/.chef-rss_app_error20190511-12240-1tmdkxj.conf 2019-05-11 14:34:13.516735927 +0000 @@ -1,8 +1,9 @@ [rss_app_error] -datetime_format = %Y-%m-%d %H:%M:%S %z +time_zone = UTC +datetime_format = [[%Y-%m-%d %H:%M:%S]] file = /var/www/app/public/txt/app_error*.txt -buffer_duration = 60000 +buffer_duration = 25000 log_stream_name = {hostname} initial_position = start_of_file log_group_name = rss_app_error * service[awslogs] action restart - restart service service[awslogs] * aws_cwlogs[rss_subs_error] action add * service[awslogs] action nothing (skipped due to action :nothing) * template[/var/awslogs/etc/config/rss_subs_error.conf] action create - update content in file /var/awslogs/etc/config/rss_subs_error.conf from 9b640b to 89f7b2 --- /var/awslogs/etc/config/rss_subs_error.conf 2019-05-10 12:16:27.156263718 +0000 +++ /var/awslogs/etc/config/.chef-rss_subs_error20190511-12240-kxbvso.conf 2019-05-11 14:34:16.656803633 +0000 @@ -1,8 +1,9 @@ [rss_subs_error] -datetime_format = %Y-%m-%d %H:%M:%S %z +time_zone = UTC +datetime_format = [[%Y-%m-%d %H:%M:%S]] file = /var/www/app/public/txt/subs_error*.txt -buffer_duration = 60000 +buffer_duration = 25000 log_stream_name = {hostname} initial_position = start_of_file log_group_name = rss_subs_error * service[awslogs] action restart - restart service service[awslogs]
The text was updated successfully, but these errors were encountered:
This is how I call the cookbook from a wrapper cookbook from above:
logs.each do |log_name, log_data| aws_cwlogs log_name do log log_data end end
Where logs is a Hash stored in the attributes.
logs
Sorry, something went wrong.
No branches or pull requests
I'm running aws-cloudwatchlogs v1.1.7 under chef-client 14.9.13 and everytime the
aws_cwlogs
resource is executed, the service is reload immediatelly.It's true that on the code seems to follow correctly the documentation, but it just keeps happening:
The text was updated successfully, but these errors were encountered: