> On 17 Oct 2023, at 20.29, Khem Raj <[email protected]> wrote: > > I have systemd based system and I can see it in journal e.g. see > > https://snips.sh/f/jleAzcqMVd
Fortunately it’s very easy to reproduce the no log scenario. :) Build a default core-image-minimal with the following added to local.conf: INIT_MANAGER = "systemd" DISTRO_FEATURES += "pam wayland opengl" CORE_IMAGE_EXTRA_INSTALL += "wayland weston" Run the image with qemu: root@qemux86-64:~# journalctl -fu weston Oct 18 13:43:21 qemux86-64 systemd[1]: Starting Weston, a Wayland compositor, as a system service... Oct 18 13:43:21 qemux86-64 systemd[1]: weston.service: Main process exited, code=exited, status=1/FAILURE Oct 18 13:43:21 qemux86-64 systemd[1]: weston.service: Failed with result 'exit-code'. Oct 18 13:43:21 qemux86-64 systemd[1]: Failed to start Weston, a Wayland compositor, as a system service. /Sean > > On Tue, Oct 17, 2023 at 6:05 AM Sean Nyekjaer <[email protected]> wrote: >> >> Hi, >> >> To my understanding the weston.service doesn’t log to journal. If I'm is >> running the weston binary there is fine output on stdout. >> >> Looks like TTYPath is eating the logs, but I could be wrong. >> >> Adding: >> ExecStart=/usr/bin/weston --modules=systemd-notify.so --log=/tmp/weston.log >> >> Will of course give logs in that file >> >> /Sean
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#189392): https://lists.openembedded.org/g/openembedded-core/message/189392 Mute This Topic: https://lists.openembedded.org/mt/102016986/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
