For a while looking for a solution that with systemd tools will give me an opportunity to bypass the journal and log directly to syslog. Potentially that can be also filtered, but only on journal not on syslog of course.
So far I can't make it right. My system is OL8 with systemd 239-68.
What was already tried:
This gives dual logging to journal and to syslog.
Second try was set
Do not want to use above, since messages sent that way are raw with no identifier or timestamp that probably needs to be set by the sender (application) and this is out of my jurisdiction.
I know that I can do it using
2>&1 with logger in separate script but really it is last resort since it is informal.
Also saw these two topics:
But none of them address specifically the above problem.
Can you point me to any other ideas on how to solve this problem?