We just had some internal conversation about this, which I will do my best to summarise here.
Ryan agreed that this would make debugging easier, but worried about removing cloud-init.log as it's a well established path that people rely on. He identified that `cloud-init analyze` was one example of something that would need to be modified to not rely on cloud-init.log. I noted that I wasn't intending this as a proposal to drop cloud- init.log. I noted that we're going to need to support non-systemd instances using cloud-init.log anyway, so we won't be able to drop those code paths regardless. I noted that `cloud-init collect-logs` may need updating. I proposed the following plan for Ubuntu: emit to both cloud-init.log and the journal in 20.04 LTS, and discuss dropping cloud-init.log for 22.04 LTS. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1838032 Title: cloud-init should emit all of its logs to the systemd journal To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/cloud-init/+bug/1838032/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
