-
Notifications
You must be signed in to change notification settings - Fork 854
New issue
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
cloud-init-output.log is increasing its size very quickly #4000
Comments
Launchpad user Scott Moser(smoser) wrote on 2022-07-18T14:24:15.430201+00:00 Hi, thanks for taking the time to file a bug to help make cloud-init better. cloud-init collect-logs and attach the output. Then once you've done that , set the 'Status' field back to 'New'. Thanks. |
Launchpad user Aleksandra(algol30) wrote on 2022-07-18T14:58:01+00:00 Hi Scott, Thanks for your reply. Since this log would be from live system and as I can see it contains a lot Regards, On Mon, Jul 18, 2022 at 4:30 PM Scott Moser 1981960@bugs.launchpad.net
--Aleksandra Golubovic Be the change you wish to see in the world |
Launchpad user Chad Smith(chad.smith) wrote on 2022-07-18T16:57:09.093524+00:00 Aleksandra (algol30) generally cloud-init should not be emitting debug logs with a frequency that impacts your system in "one-two days". This points to something unexpected in the environment that logs would help us better understand. Ultimately, we want to understand what types of potentially repeated events seem to be saturating your logs. We may be able to get to that understanding a bit with some of the following:
|
Launchpad user Launchpad Janitor(janitor) wrote on 2022-09-17T04:17:22.085757+00:00 [Expired for cloud-init because there has been no activity for 60 days.] |
This bug was originally filed in Launchpad as LP: #1981960
Launchpad details
Launchpad user Aleksandra(algol30) wrote on 2022-07-18T07:27:30.541016+00:00
I use Linux machine on AWS EC2 instance with Red Hat Enterprise Linux 8.6 and my cloud-init-output.log is increasing its size very quickly causing my app logs to stop writing in one-two days even though I have 20GB of storage.
I changed logging level from default DEBUG to ERROR in /etc/cloud/cloud.cfg.d but it didn't help. Messages are also filling up fast.
I can see that app messages are written in cloud-init-output.log which is not something I want. Is there a way to turn it off?
/etc/cloud/cloud.cfg.d/05_logging.cfg is default.
The text was updated successfully, but these errors were encountered: