Remove redundant [C|c]ritical|CRITICAL pattern

This patch removes '[C|c]ritical|CRITICAL' from the AUDITLOGLEVEL
pattern as this pattern is more completely covered by the later
'[C|c]rit?(?:ical)?|CRIT?(?:ICAL)?' pattern.

This also removes a pattern bug as 'CRITICAL' should have been
'CRITICAL|' anyway.

Change-Id: I8c45ee13fb6b40e31bafa744f8fee5f4af7a90f5
Closes-Bug: 1401091
This commit is contained in:
Jesse Pretorius 2014-12-10 12:45:30 +00:00
parent f91bee9951
commit 1ebd7e5939

View File

@ -1,4 +1,4 @@
AUDITLOGLEVEL ([C|c]ritical|CRITICAL[A|a]udit|AUDIT|[D|d]ebug|DEBUG|[N|n]otice|NOTICE|[I|i]nfo|INFO|[W|w]arn?(?:ing)?|WARN?(?:ING)?|[E|e]rr?(?:or)?|ERR?(?:OR)?|[C|c]rit?(?:ical)?|CRIT?(?:ICAL)?|[F|f]atal|FATAL|[S|s]evere|SEVERE|TRACE|[T|t]race)
AUDITLOGLEVEL ([A|a]udit|AUDIT|[D|d]ebug|DEBUG|[N|n]otice|NOTICE|[I|i]nfo|INFO|[W|w]arn?(?:ing)?|WARN?(?:ING)?|[E|e]rr?(?:or)?|ERR?(?:OR)?|[C|c]rit?(?:ical)?|CRIT?(?:ICAL)?|[F|f]atal|FATAL|[S|s]evere|SEVERE|TRACE|[T|t]race)
APACHE_LOG_LEVEL (?:emerg|alert|crit|error|warn|notice|info|debug)