nixos/davmail: set logging default to warn, instead of debug
This commit is contained in:
parent
2b23f30305
commit
01cec5155f
@ -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 = {
|
||||
|
Loading…
Reference in New Issue
Block a user