POLARIS: Clean up adminpm logs

This commit is contained in:
Arokha Sieyes
2018-03-21 14:28:48 -04:00
committed by Leshana
parent c9f9d984d7
commit c492d1a21b
2 changed files with 6 additions and 1 deletions
+5
View File
@@ -25,6 +25,11 @@
if (config.log_admin)
diary << "\[[time_stamp()]]ADMIN: [text][log_end]"
/proc/log_adminpm(text, client/source, client/dest)
admin_log.Add(text)
if (config.log_admin)
diary << "\[[time_stamp()]]ADMINPM: [key_name(source)]->[key_name(dest)]: [html_decode(text)][log_end]"
/proc/log_debug(text)
if (config.log_debug)
debug_log << "\[[time_stamp()]]DEBUG: [text][log_end]"