Merge pull request #58778 from aanderse/davmail

nixos/davmail: set logging default to warn, instead of debug
This commit is contained in:
Silvan Mosberger 2019-04-06 06:23:48 +02:00 committed by GitHub
commit 82b8ff405b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -58,18 +58,26 @@ in
config = mkIf cfg.enable {
services.davmail.config.davmail = mapAttrs (name: mkDefault) {
server = true;
disableUpdateCheck = true;
logFilePath = "/var/log/davmail/davmail.log";
logFileSize = "1MB";
mode = "auto";
url = cfg.url;
caldavPort = 1080;
imapPort = 1143;
ldapPort = 1389;
popPort = 1110;
smtpPort = 1025;
services.davmail.config = {
davmail = mapAttrs (name: mkDefault) {
server = true;
disableUpdateCheck = true;
logFilePath = "/var/log/davmail/davmail.log";
logFileSize = "1MB";
mode = "auto";
url = cfg.url;
caldavPort = 1080;
imapPort = 1143;
ldapPort = 1389;
popPort = 1110;
smtpPort = 1025;
};
log4j = {
logger.davmail = mkDefault "WARN";
logger.httpclient.wire = mkDefault "WARN";
logger.org.apache.commons.httpclient = mkDefault "WARN";
rootLogger = mkDefault "WARN";
};
};
systemd.services.davmail = {