Plugin: logsqlite

Commands

last

Parameters.  [options] [uid]

Short Description.  shows last logged messages

  -n, --number <number>  Number of messages to show

  -s, --search <text>    Show only messages containing text
  
  <uid>                  UID of user whose messages will be shown

laststatus

Parameters.  [options] [uid]

Short Description.  shows last logged changes of statuses

  -n, --number <number>  Number of statuses to show

  -s, --search <text>    Show only statuses containing text
  
  <uid>                  UID of user whose statuses will be shown


Variables

log

Type.  number

Default value.  0

define if plugin logs messages 

log_ignored

Type.  bool

Default value.  0

define if plugin logs ignored messages (NFY).

log_status

Type.  bool

Default value.  0

define if plugin logs changes of people's statuses from contact list
list (variable ,,log'' must be other than 0)

path

Type.  text

Default value.  ~/.ekg2/logsqlite.db

Path to file with database. If file doesn't exists, it will be created.
Recognized codes:
* %S - our session
* %Y, %M, %D - year, month, day
Examples:
- logging to directores by session:
    log_path = "~/.ekg2/logsqlite/%S.db"
  e.g. /home/users/leafnode/.ekg/logsqlite/gg:123.db
- logging to directores by session (directory) and date (file):
    log_path = "~/.ekg2/logsqlite/%S/%Y-%M-%D.db"
  e.g. /home/users/leafnode/.ekg2/logsqlite/jid:fr@h.pl/2004-05-31.db
- logging to /tmp with session and date:
    log_path = "/tmp/%S-%Y.%M.%D.db"
  e.g. /tmp/gg:31337-2004.05.31.db

last_limit_msg

Type.  number

Default value.  10

maximal number of messages displayed by command logsqlite:last

last_limit_status

Type.  number

Default value.  10

maximal number of statuses displayed by command logsqlite:laststatus

last_in_window

Type.  bool

Default value.  0

define if messages displayed by command will be displayed in chat
window with this person. Opening of unexisting window will be defined
by variable logsqlite:last_open_window. 

last_open_window

Type.  bool

Default value.  0

define if in the case of displaying of the person's message by lastlong
in chat window with him the window will be opened if it's not
(anybody understand that description?)

last_print_on_open

Type.  bool

Default value.  0

define if after opening a new chat window, logsqlite will display there 
last_limit last messages with this person