Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
ヘッダーが正しい形式 (pri、タイムスタンプ、ホスト名) であることを syslog-ng がどのように検証するのか疑問に思っています。この目的で正規表現を使用していますか?
いいえ、この目的のために手書きのパーサーを使用します。3.3 の syslogformat プラグインにあり、以前は logmsg.c にありました。