Controller email verbosity (padding/waste of space)
Hi Team,
Any chance you can fix up the log emails that are sent out?
Having 99 characters of # in the body before anything important means that notifications on iPhone do not show enough information to make a decision whether to act without /unlocking and reading the full email.
###################################################################################################
# Omada Controller Log - 2021-10-17
# Time: 2021-10-17 17:43:57
# Controller version: 4.4.6
# Site: <sitename>
###################################################################################################
2021-10-17 17:43:48 Device Information <status message>
A better email would be; this then might fit into the email notification
Message <xxxxx>
Site: <sitename>
Time <> 2021-10-17 17:43:48
Below is the line of code responsible, inside MailLogEventListener.java. I can't find the calling function due to obfuscation and beer :-)
private String a(String var1, String var2, String var3, String var4) { String var5 = y.a(var3) ? "global" : var3; return "###################################################################################################\r\n# " + var1 + "\r\n# Time: " + com.tplink.omada.manager.c.b.a(var5, var4, "YYYY-MM-dd HH:mm:ss") + "\r\n# Controller version: " + "4.4.6" + "\r\n" + (var2 != null ? "# Site: " + var2 + "\r\n" : "") + "###################################################################################################\r\n\r\n"; }