Opened 5 years ago

Closed 5 years ago

#1772 closed enhancement (wontfix)

Option to allow syslog tags longer than 32 symbols

Reported by: selivan@… Owned by:
Priority: minor Milestone:
Component: nginx-core Version:
Keywords: syslog, logging Cc:
uname -a:
nginx -V: nginx/1.15.0

Description

In out configuration syslogs tags are used to decide log message filtering (PCI DSS requiremens) and forwarding destination.

Sometimes we need syslog tags more than 32 symbols long. This violates RFC 3164, but all our software can work with long tags.

It would be nice to have additional access_log directive option that allows logs tags for syslog messages, like allowlongtags=true

Now using long tags is strictly prohibited:

nginx: [emerg] syslog tag length exceeds 32 in /etc/nginx/sites-enabled/test.conf:13

Change History (1)

comment:1 by Maxim Dounin, 5 years ago

Resolution: wontfix
Status: newclosed

Quoting RFC 3164:

The TAG is a string of ABNF alphanumeric characters that MUST NOT exceed 32 characters.

That is, using longer tags is explicitly forbidden.

Note: See TracTickets for help on using tickets.