1 Answer
- Newest
- Most votes
- Most comments
0
According to the documentation:
If you do not specify an agent logging config file here, the default file awslogs.conf is used.
The default file location is /var/awslogs/etc/awslogs.conf if you installed the agent
with a script, and is /etc/awslogs/awslogs.conf if you installed the agent with rpm.
In the [general]
section, what is logging_config_file
set to?
Relevant content
- asked 2 years ago
- asked 7 months ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated a month ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 9 months ago
I have seen that piece of documentation, but I have no such file in my installation (i.e., no awslogs folder under /var). This is an on-prem installation that I have done via Systems Manager, and then I configured CloudWatch using the Wizard.
P.S.: After some services restart anyway it seems that also INFO logs are sent. Anyway it might be interesting to know if and where the file you are mentioning may be located in my environment.
Thanks!
Edit: There is no awslogs folder even under /etc
You could do a 'find . -name awslog.conf' from the root directory. Or explicitly set the logging_config_file and manage it's contents.