The Channel Chat Logging module is a third-party InpsIRCd module that logs all
user messages as well as channel joins, parts, and quits. It logs with a type
of m_chatlog
to make it easy to filter to a separate log file.
The original module was written by Daniel Rich [email protected] and forked on github by Josh Enders [email protected] and then by David Smith [email protected]
See: http://www.inspircd.org/forum/showthread.php?t=5592 (Dead link)
If you would prefer to not install the required build-tools, you can build this module in a docker image, extract it from a container and then delete the image. A Dockerfile and simple bash script is provided. Simply run
./build_in_docker.sh
This module has been successfully built against InspIRCd v3.14.0.
Clone the latest version of InspIRCd from the repository
git clone [email protected]:inspircd/inspircd.git && pushd inspircd
Create a local branch and checkout into the new branch
git checkout -b v3.14.0 v3.14.0
Download the module
wget -O src/modules/extra/m_chatlog.cpp https://raw.githubusercontent.com/dsmithbbc/inspircd-m_chatlog/master/m_chatlog.cpp
Enable the module
./configure --enable-extras=m_chatlog.cpp
Configure
./configure
Build and install
make && make install
The following lines should be appended to /etc/inspircd/modules.conf
#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
# Chat log module: Logs all chats to the ircd log at default loglevel.
<module name="m_chatlog.so">
#-#-#-#-#-#-#-#-#-# CHATLOG CONFIGURATION #-#-#-#-#-#-#-#-#-#-#-#-#-#
# There may be certain nicks that you do not want logged for security
# reasons. Exceptions can be added below.
#<chatlog exception="nickserv">
#<chatlog exception="chanserv">