9 Commits

Author SHA1 Message Date
Jeremy Stanley
f2859c55de ircbot: flush channel logging continuously
We've seen evidence of channel logs not getting flushed for very
long timespans (as much as a day on some channels), so adjust the
configuration to flush channel log files immediately after each line
is written. We don't log *that* many channels and our discussion
volume isn't so high that this is likely to cause I/O performance
issues for the server.

Change-Id: Ia56d3d8c21c48d8ed6ba2466c914e0c20a6192c3
2021-06-15 15:11:23 +00:00
Zuul
bb15850b8d Merge "limnoria: fix nicks syntax" 2021-06-11 13:17:10 +00:00
Ian Wienand
f95b139be5 limnoria: fix nicks syntax
This was introduced with I9b5fdf484b6e5d8c9af60708ff02d3c60e427fbd

Change-Id: I4d8726ad519f0faf03c2de9d566529491edcfb8a
2021-06-11 21:15:05 +10:00
Zuul
533c9c6855 Merge "limnoria: disable flush (really this time) and don't join until nickserv" 2021-06-11 11:12:24 +00:00
Ian Wienand
ff899732b4 limnoria: disable flush (really this time) and don't join until nickserv
Change-Id: Ibb352ded6b913d73a1e8b5621c4f01e9d8548f6f
2021-06-11 20:09:44 +10:00
Ian Wienand
8a688b768b limnoria: don't log channel join/parts
Change-Id: Ic4401647391fd88077bbcee2ce61803f54595879
2021-06-11 19:47:02 +10:00
Ian Wienand
b2ca63c3b7 limnoria: production fixes
Don't flush the config.  We don't want limnoria to overwrite our
config, and we dont' configure it manually via interaction.

Make sure the Services plugin is loaded to identify with nickserv.

Set the logs2html job to 15 minutes, same as the old puppet setting.

Set the logging level to INFO to avoid verbose logging.

Set the flush option to True so logs are written immediately

Setup rotation on the logfile

Change-Id: I9b5fdf484b6e5d8c9af60708ff02d3c60e427fbd
2021-06-11 13:14:42 +10:00
Ian Wienand
6a04c1ea9e limnoria: fix some minor typos
Fix some spelling issues, incorrectly copy/pasted code and comment-out
an unnecessary config option that makes the connection fail.

Change-Id: If558fb15adbd4d598b5bea6f51a888c87c381561
2021-06-10 16:06:30 +10:00
Ian Wienand
403773d55a limnoria/meetbot setup on eavesdrop01.opendev.org
This installs our Limnoira/meetbot container and configures it on
eavesdrop01.opendev.org.  I have ported the configuration from the old
puppet as best I can (it is very verbose); my procedure was to use the
Limnoira wizard to start a new config file then backport everything
from the old file.  I felt this was best to not miss any new options.

This does channel logging (via built-in ChannelLogger plugin, along
with a cron job for logs2html) and runs our fork of meetbot.

It exports the channel logs via HTTP to /irclogs and meetings logs to
/meetings.  meetings.opendev.org will proxy to these two locations
when the server is active.

Note this has not ported the channel list; so the bot will not be
listening in our channels.

Change-Id: I9f9a466c271e1a706f9f98f816de0e84047519f1
2021-06-10 09:02:16 +10:00