Introduction

The plugin logger may be used to log everything you want. It supports the following events:

  • Channel notice

  • Join

  • Kick

  • Me

  • Message

  • Mode

  • Private notice

  • Part

  • Topic

  • User mode

Installation

The plugin logger is distributed with irccd. To enable it add the following to your plugins section:

[plugins]
logger =

Usage

There is nothing to do, except configuring it.

Configuration

The plugin logger can be configured to format logs.

The logger.conf uses irccd syntax.

Section general

This section configures global options.

Option directory (required)

The directory where to store logs.

Section formats

Event log formats. By default all events are logged, if you want to disable any of them, set the desired option to "".

Option cnotice

Format for channel notices.

Option join

Format for channel joins.

Option kick

Format for kicks.

Note Keyword #m is an optional reason, #t is the kicked target.
Option me (CTCP Action)

Format for /me.

Option message

Format for messages.

Option mode

Format for channel mode changes.

Note Keyword #m is the mode name such as +b and #M an optional argument.
Option notice

Format for private notices

Note Keyword #T is the targeted nicknamed for the notice, #u and #U are the sender nickname.
Option part

Format for parts.

Option topic

Format for topic changes.

Option umode

Format for user mode change. This only affects you.