Op do 31 jul 2025 om 17:47 schreef Kalin KOZHUHAROV <me.ka...@gmail.com>:
>
> On Thu, Jul 31, 2025 at 2:46 PM Curry, Alan <pacu...@tsc.k12.in.us> wrote:
> >
> > On 7/31/2025 3:11 AM, E.S. Rosenberg wrote:
> > >>
> > >> When setting
> > >> ErrorLog '|/usr/bin/logger -p local3.err -t apache2'
> > >> CustomLog '|/usr/bin/logger -t apache2 -p local3.info' combined
> > >>
> > >> The commands that gets run by apache are:
> > >> /usr/bin/logger -p local3 err -t apache2
> > >> /usr/bin/logger -t apache2 -p local3 info
> >
> > logger removes the dot from the argument while parsing it.
> >
> > <https://github.com/util-linux/util-linux/blob/stable/v2.41/misc-utils/logger.c#L997>
> >
> > That affects what ps shows. Run the same logger command from a plain old
> > shell and it'll look the same in ps.
> >
> That is ... unexpected, but yes that is what happens, confirmed here.
Agreed and agreed.
>
> I also confirmed that when apache uses the piped output, syslog gets
> the full correct "local3.info" priority.
>
> Eliyahu, did you check the end effect, i.e. what facility.priority is
> logged (and disregard ps output)?
While I started this whole saga troubleshooting why I was not getting
apache messages on my syslog server it would seem that this was not
the issue and now stuff is working so I probably had something else
misconfigured or was too impatient to see messages appear.

Sorry for wasting everyone's time.
Eliyahu - אליהו
>
> So it is a strange decision from util-linux package to doctor its
> cmdline in such a way, but in the end it is only a cosmetic issue.
>
> Kalin.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
> For additional commands, e-mail: users-h...@httpd.apache.org
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org

Reply via email to