On 01/23/2014 02:45 AM, Steve Beattie wrote: > Apache 2.4 added addition logging levels. This patch converts some of > the log messages that are more intended for mod_apparmor development > and debugging than for sysadmins configuring mod_apparmor to use trace1 > (APLOG_TRACE1) level instead. Since apache 2.2. does not contain this > level (or define), we define it back to APLOG_DEBUG. > > An alternate approach for backwards compatibility would be to define > separate wrapper macros for ap_log_error and ap_log_rerror to use > when APLOG_TRACE1 is desired, and disable them in apache 2.2 unless > DEBUG is defined at compile time. But I'm not sure that's worth it, > since I'm still having trouble getting all of the non-request specific > log messages emitted in apache 2.2 to begin with. > > Patch history: > v1: initial version > v2: mark a couple of additional log messages as trace1 level > > Signed-off-by: Steve Beattie <[email protected]>
Acked-by: John Johansen <[email protected]> -- AppArmor mailing list [email protected] Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/apparmor
