Browse Source

Send admin logs to working@lcm.mi.infn.it

mario forzanini 2 years ago
parent
commit
7f287dea3d
1 changed files with 2 additions and 6 deletions
  1. 2 6
      lcmlog-server

+ 2 - 6
lcmlog-server

@@ -72,12 +72,8 @@ def main():
                                 log = sys.stdin.read()      # Read the log content
                                 if optional_line == "MAIL":
                                         send_mail = True
-                                        if kind == "Admin":
-                                                TO_ADDRESS = "admins@lcm.mi.infn.it"
-                                                REPLY_TO   = True
-                                        else:
-                                                TO_ADDRESS = "working@lcm.mi.infn.it"
-                                                REPLY_TO   = True
+                                        TO_ADDRESS = "working@lcm.mi.infn.it"
+                                        REPLY_TO   = True
                                 else:
                                         send_mail = False
                                         # optional_line consumes the input but it is not