POLARIS: Clean up adminpm logs

This commit is contained in:
Arokha Sieyes
2018-03-12 21:16:47 -04:00
parent a81b925614
commit b68a943443
2 changed files with 6 additions and 1 deletions

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]"