Logging with ircd-hybrid
This is a patch for ircd-hybrid
to add full logging of almost all activity. It dumps all conversations
(both private and public) and connections/disconnections to the server
to a file, activity.log.
- logging_patch. This is against ircd-hybrid
7.0.
- splitlog script. This is a ruby script which takes
the generated logs and splits them into hyperlinked HTML files,
allowing the information and conversations from the log to be browsed
via a web browser.
Notes
- src/s_log.c contains the line:
fflush(activity_log_file);
This flushes the log file after every line written to the log file.
This allows you to view the log in real time with tail -f.
For higher performance you might want to comment this out.
- This has not been tested under high load.
Simon Howard