Merge pull request #58778 from aanderse/davmail
nixos/davmail: set logging default to warn, instead of debug
This commit is contained in:
commit
82b8ff405b
1 changed files with 20 additions and 12 deletions
|
@ -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 a new issue