IRCCD-PLUGIN-LOGGER(7) - Miscellaneous Information Manual

NAME

logger - irccd logger plugin

DESCRIPTION

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

INSTALLATION

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

[plugins]
logger = ""

USAGE

The logger plugin has no direct commands.

CONFIGURATION

The following options are available under the [plugin.logger] section:

file (string)

The path to the file where to store logs. Keywords: channel, server, (date).

TEMPLATES

The logger plugin supports the following templates in [templates.logger] section:

join

Format when someone joins a channel.

kick

Format when someone has been kicked. Keywords: reason, target.

me

Format for emote actions. Keywords: message.

message

Format for channel messages. Keywords: message.

mode

Format for user mode change. Keywords: mode, limit, user, mask.

notice

Format on private notices. Keywords: message.

part

Format when someone leaves a channel. Keywords: reason.

topic

Format when a topic is changed. Keywords: topic.

All templates support the following standard keywords: channel, nickname, origin, server.

EXAMPLES

Example of configuration file:

[plugin.logger]
file = "/var/log/irccd/#{server}/%y/%m/%d/#{channel}.txt"

[templates.logger]
join = "user #{nickname} joined #{channel}"

SEE ALSO

irccd(1), irccd-templates(7)

macOS 11.2 - @IRCCD_MAN_DATE@