summaryrefslogtreecommitdiff
path: root/logging.c
AgeCommit message (Collapse)Author
2023-03-21Don't try to close log file if the pointer was NULL.Luke Bratch
2022-01-03Fix PRIVMSG logging going to the wrong log file.Luke Bratch
2021-01-19Fix various issues where strncmp was only comparing a substring.Luke Bratch
This fixes issues such as when JOINing a channel whose name is a substring of another channel, things like PARTing don't work properly.
2019-12-22Make full debug output optional for extractnickfromprefix() and ↵Luke Bratch
stripprefix() to avoid huge debug logs when using replaymode = "lastspoke" combined with DEBUG_FULL.
2019-10-02"LOG_MODE" should be "type == LOG_MODE" in logging.c.Luke Bratch
2019-09-16Log user/channel mode setting in the replay and normal logs.Luke Bratch
2019-09-16Make all log filenames lowercase - since IRC nicks and channel names are ↵Luke Bratch
case-insensitive, we can ensure a nick/channel with varying case always ends up in the same log file.
2019-09-15Use filename safe strings for all log types.Luke Bratch
2019-09-15Log nick changes to the normal log file(s).Luke Bratch
2019-09-15Start tracking nicks in channels (upon JOIN/PART/QUIT/NICK) and use that to ↵Luke Bratch
correctly log QUITs in the replay log and normal log(s).
2019-09-12Log server messages to file named <ircdname>.log.Luke Bratch
2019-09-07Avoid non-existent users appearing in channels after they change nicks by ↵Luke Bratch
replay logging nick changes.
2019-07-18Correctly log and replay "/me" PRIVMSGs.Luke Bratch
2019-07-10Include the file extension when checking for log filename length.Luke Bratch
2019-07-10Ensure log filenames are safe for writing.Luke Bratch
2019-06-10Add copyright and GPL 3 notices.Luke Bratch
2019-05-30Remove most (all?) exit()s with error handling without exiting where ↵Luke Bratch
possible. Convert most remaining printing to stdout/stderr to debugprint() instead.
2019-05-30Convert debugprint() from being to file/screen/disabled to always being to ↵Luke Bratch
file with configurable verbosity.
2019-05-29Include NOTICEs in the replay log and normal logs. Particularly useful for ↵Luke Bratch
relaying NickServ IDENTIFY password warnings to clients shortly after connecting.
2019-05-29Ensure writes to file are unformatted strings.Luke Bratch
2019-05-27Make debug output optional and disabled by default.Luke Bratch
2019-05-19Enable logging of TOPIC changes.Luke Bratch
2019-05-19Rewrite logging function to enable logging JOINs/PARTs as well as PRIVMSGs.Luke Bratch
2019-05-16Add a configurable base directory for things like logs, defaulting to ↵Luke Bratch
$HOME/.blabouncer/.
2019-05-16Implement normal logging (file per channel/user).Luke Bratch