Ade Malsasa Akbar contact
Senior author, Open Source enthusiast.
Tuesday, April 19, 2016 at 23:24

Quassel has no way to save its IRC chat logs by default. But Quassel wiki provides a Python program to do this job easily. The program name is dumplog. The dumplog program is free software (GNU GPL). Here some instruction about how to dump (save) Quassel database (chat log) into a text file. Thank you Ramon Klass for creating dumplog.

Download dumplog

Obtain the program here: Extract it to a directory first before you use it.

Save Chat Log

To save (dump) a chat log, use this command:
python -u username -n network -c "channel" -o file-name.log
For example, we can use this command to save our chat log in #ubuntu channel in Freenode network.
python -u AdminUser -n Freenode -c "#ubuntu" -o ubuntu.log
For another example, we can use this comand to save our #gnu channel chat log.
python -u AdminUser -n Freenode -c "#gnu" -o gnu.log
The result of every command is a file with .log extension which is a plain text file. You may only save one channel per one command, you can not save the whole network you use in Quassel (for example, the whole Freenode). And you will need Quassel username: AdminUser, not your Ubuntu system username. You may see this Quassel username by invoking those command without -u option.