CHATLOG


about


author:Bart Thate <bthate@gmail.com>
contact:IRCNET/#dunkbots
distribution:core
license:MIT

description


log channels to [hour:min] <nick> txt format, only logging to files is supported right now.

commands


commands in this plugin:
 chatlog-stats .. chatlog-off .. chatlog-cfgsave .. chatlog-cfg .. chatlog-on .. chatlog-search

  1. chatlog-cfg .. [cmnd_cfg]

    description:the config (cfg) command.
    permissions:OPER
    code:jsb.plugs.socket.chatlog_chatlog-cfg_command.
    examples:
    <user> ;chatlog-cfg
    <output> options: backend="log" .. basepath="/home/bart/.jsb" .. cfile="/home/bart/.jsb/config/plugs/jsb.plugs.socket.chatlog" .. channels=[[u'testbot', u'#test']] .. datadir="/home/bart/.jsb" .. dir="/home/bart/.jsb/config" .. filename="plugs/jsb.plugs.socket.chatlog" .. format="log" .. hide=[] .. isdb=False .. isgae=False .. issaved=True .. jsondb=None .. modname="jsb.plugs.socket.chatlog" - 1 more
  2. chatlog-cfgsave .. [cmnd_cfgsave]

    description:save config.
    permissions:OPER
    code:jsb.plugs.socket.chatlog_chatlog-cfgsave_command.
    examples:
    <user> ;chatlog-cfgsave
    <output> config saved
  3. chatlog-off .. [handle_chatlogoff]

    description:no arguments - disable chatlog.
    permissions:OPER
    code:chatlog-off command.
    examples:
    <user> ;chatlog-off
    <output> chatlog disabled on (testbot,#test)
  4. chatlog-on .. [handle_chatlogon]

    description:no arguments - enable chatlog.
    permissions:OPER
    code:chatlog-on command.
    examples:
    <user> ;chatlog-on
    <output> chatlog enabled on (testbot,#test)
  5. chatlog-search .. [handle_chatlogsearch]

    description:arguments: <searchtxt> - search in the logs.
    permissions:OPER .. USER .. GUEST
    code:jsb.plugs.socket.chatlog_chatlog-search_command.
    examples:
    <user> ;chatlog-search jsonbot
    <output> search results for jsonbot: 2012-03-24 19:28:17 <jsb> {"status": "init", "networkname": "testbot", "encoding": "utf-8", "allowall": true, "nicks": {}, "reconnectcount": 0, "ids": [], "ignore": [], "fleetdir": "fleet/testbot", "ecounter": 0, "maincfg": {"domain": "", "auto_register": 0, "color": "", "whitelist": [], "dbenable": 1, "app_id": "jsonbot", "colors": "", "issaved": true, "origdir": "/home/bart/.jsb", "ticksleep": 1, - 188 more
  6. chatlog-stats .. [handle_chatlogstats]

    description:no arguments - create log stats of the channel, possible options: –chan <channel>
    permissions:OPER .. USER .. GUEST
    code:chatlog-stats command.
    examples:
    <user> ;chatlog-stats
    <output> creating stats for channel #test (Thu Jan 1 01:00:00 1970)
    <output> stat results for #test: jsb: 10600, b>done</b: 1631, /b>1: 224, file: 90, unknown: 80, timestring: 78, /b>8b: 69, /b>admin: 57, outpu: 54, /i: 54, /b: 53, priority: 48, /b><channel: 45, /b>jsonbo: 32, cmndstring: 30, b>longrunning:</b: 29, /b>gozerbo: 29, /b>reverse-order: 29, /b>BotEventRunner._loo: 29, /b>jsb.plugs.socket.github: 28, b>perms:</b: 28, /b>OPER: 27, /b> - 3 more

Table Of Contents

Previous topic

AUTOVOICE

Next topic

CONFLUENCE

This Page