module name not recorded in apache error.log · Issue #1135 · owasp-modsecurity/ModSecurity (original) (raw)

Skip to content

Provide feedback

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

@benkr94

Description

@benkr94

Here is a sample entry from error.log written by this module:

[Tue May 03 13:27:18.000422 2016] [:notice] [pid 14:tid 139983030101888] ModSecurity for Apache/2.7.7 (http://www.modsecurity.org/) configured.

I am using the default apache2 ErrorLogFormat. In lines written by other modules, the module name appears in the second set of brackets before the log level (eg, [pagespeed:warn] or [core:error]). Why does security2 appear to give an empty string here? This occurs for all error log lines for this module.