Add optional debug directives

This commit is contained in:
Daniel Berteaud 2017-07-03 11:26:27 +02:00
parent 895af6c23d
commit 1bf49af229
1 changed files with 11 additions and 0 deletions

View File

@ -0,0 +1,11 @@
{
if (($sogod{Debug} || 'disabled') =~ m/^yes|on|enabled|1$/){
$OUT .=<<'_EOF';
SOGoDebugRequests = YES;
SOGoEASDebugEnabled = YES;
ImapDebugEnabled = YES;
LDAPDebugEnabled = YES;
MySQL4DebugEnabled = YES;
_EOF
}
}