Keeps log of messages in chat and PM with time instructions, nicks and IP-addresses (and the addressee for PM). Also conducts logs of login/logout users. Every days the new file of log is created. Log of the general chat saves in folder CHATLOG, PM in folder PMLOG, login/logout in folder IOLOG in Bot's folfer.
Enable/disable chat log by command !dolog. Enable/disable PM log by command !dopmlog. Enable/disable login/logout log by command !doiolog. To look contents of chat log file with the specified name it is possible by command !dolog_show <filename>. To look contents of PM log file with the specified name it is possible by command !dopmlog_show <filename>. To look contents of login/logout log file with the specified name it is possible by command !doiolog_show <filename>. To remove chat log file with the specified name it is possible by command !dolog_delete <filename>. To remove PM log file with the specified name it is possible by command !dopmlog_delete <filename>. To remove login/logout log file with the specified name it is possible by command !doiolog_delete <filename>.
It is possible to set the nicks-exceptions which logs will not register. They are stored in file LogNickExcept. To add nick in exceptions it is possible by command !dolog_exception+ <nick>. To remove nick from exceptions it is possible by command !dolog_exception- <nick>. To look the list of exceptions it is possible by command !dolog_exceptions.
It is possible to set nicks which will join in logs if function disabled. They are stored in file LogNickObl. To add nick in the table of obligatory logs it is possible by command !dolog_obligatory+ <nick>. To remove nick from the table of obligatory logs it is possible by command !dolog_obligatory- <nick>. To look the list of obligatory logs it is possible by command !dolog_obligatory.
If function of PM log is active to users at login the prevention stands out.
For reading log with necessary contents it is possible to set reading filter. To set the filter of logs reading possible by command !dolog_filter nick:nick1[$nick2] ip:ip1[$ip2] time:start-end text:"text". Parametre nick sets the filter for users nicks, you wish to read whose messages in logs (several nicks are divided by symbol $). Parametre ip sets the filter of users IP-addresses, whose messages you wish to read in logss (several nicks are divided by symbol $). Parametre time sets initial and final time of messages for reading in format dd.mm.yyyy-dd.mm.yyyy. Parametre text Sets the filter for search logs where there is certain text (for logs of login/logout it there can be symbol > (lofin) or < (logout)). The command without parametres will remove available filters of reading. To look setted filters for readings it is possible by command !dolog_seefilter.
To finish reading of log it is possible, having read it up to the end or by command !stop in Bot's PM. Contents are deduced page by page. For transition to the following page simply enter any text or space.
If to constant LogRobotFilter in file Vars.lua sets value 1, then the messages addressed to bots will not be written to logs. In constant LogKeepPeriod the quantity of days for storage logs is set. Older files will automatically delete.