diff --git a/irc/logging/README.md b/irc/logging/README.md new file mode 100644 index 0000000..097bbc9 --- /dev/null +++ b/irc/logging/README.md @@ -0,0 +1,2 @@ +Configuration for different IRC clients to make the logs easy to read and +preferably ISO 8601 format. diff --git a/irc/logging/WeeChat.txt b/irc/logging/WeeChat.txt new file mode 100644 index 0000000..8ed80e1 --- /dev/null +++ b/irc/logging/WeeChat.txt @@ -0,0 +1,4 @@ +/set logger.file.auto_log on +/set logger.file.flush_delay 0 +/set logger.file.mask $plugin/$name/%Y-%m-%d.weechatlog +/set logger.file.name_lower_case on diff --git a/irc/logging/ZNC.txt b/irc/logging/ZNC.txt new file mode 100644 index 0000000..07faa6d --- /dev/null +++ b/irc/logging/ZNC.txt @@ -0,0 +1,2 @@ +/znc unloadmod --type=global log +/znc loadmod --type=global log -sanitize $USER/$NETWORK/$WINDOW/%Y-%m-%d.log