Re: [systemd-devel] Prefix for direct logging

2021-09-28 Thread Arjun D R
ning 40-50 instances of journalctl impact the load? I will perform an experiment on that as well. -- Arjun On Tue, Sep 28, 2021 at 11:32 AM Mantas Mikulėnas wrote: > On Tue, Sep 28, 2021, 06:07 Arjun D R wrote: > >> Thank you Mantas for the details. >> How do you currently get

Re: [systemd-devel] Prefix for direct logging

2021-09-29 Thread Arjun D R
the load. Thanks for the help. -- Arjun On Tue, Sep 28, 2021 at 7:06 PM Lennart Poettering wrote: > On Mo, 27.09.21 15:40, Arjun D R (drarju...@gmail.com) wrote: > > > Hi Folks, > > > > Currently we are using systemd-journald for service logging. We run > > jour

Re: [systemd-devel] Prefix for direct logging

2021-09-29 Thread Arjun D R
processes spawned under a service! I am trying to understand the journald and it would be really helpful to know this magic. Thanks in advance, Arjun On Wed, Sep 29, 2021 at 12:14 PM Arjun D R wrote: > Hi Lennart, > > That's a good idea but still I would like to have t

[systemd-devel] Prefix for direct logging

2021-09-27 Thread Arjun D R
Hi Folks, Currently we are using systemd-journald for service logging. We run journalctl for a bunch of services and redirect those to the custom log files for every few seconds. This takes up the CPU for that particular time period since we have lot of IO operations as well. We came to know that

Re: [systemd-devel] Prefix for direct logging

2021-09-27 Thread Arjun D R
will allow the service to open the fd and directly connect it to the service stdout. Let me look into journalctl --follow. Any other alternative approaches for the above implementation? Thanks again Mantas. -- Arjun On Mon, Sep 27, 2021 at 11:39 PM Mantas Mikulėnas wrote: > > On Mon, Sep