From 8782c1905bde8945e7370878eee5b3606bc97ce7 Mon Sep 17 00:00:00 2001
From: Claude Becker <becker@phys.ethz.ch>
Date: Mon, 3 Dec 2018 08:08:17 +0100
Subject: [PATCH] sync-winhosts: log to logrotated usradm subfolder

---
 bin/sync-winhosts.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bin/sync-winhosts.py b/bin/sync-winhosts.py
index 07483fa..c6a0115 100755
--- a/bin/sync-winhosts.py
+++ b/bin/sync-winhosts.py
@@ -13,7 +13,7 @@ from ldap3 import Server, Connection, ALL, Tls, SASL, GSSAPI, ServerPool, RANDOM
 # ldap                  = dphysldap.Ldap(ca_certs_file=".\\ca-certificates.crt")
 main_windows_netgroup = "windows"
 windows_log_path      = "c:\\scratch\\"
-unix_log_path         = "/var/log/"
+unix_log_path         = "/var/log/usradm/"
 log_file              = "sync-winhost.log"
 ca_certs_file         = "/etc/ssl/certs/ca-certificates.crt"
 
-- 
GitLab