The following forum message was posted by Anonymous at http://sourceforge.net/projects/znc/forums/forum/396039/topic/4398428:
I don't think there is a script for that already written - simply because of
privacy reasons. I don't even know if ZNC is capable to do this.
Maybe the simplest thing to do is run znc in debug-mode in a screen and set
a screenlog-file. In debug-mode, ZNC writes every incoming/outgoing line to
Another option is to load the log-module for every user.