From 76c9bcfe554bad0b364670b9cb29b8134fd655e6 Mon Sep 17 00:00:00 2001 From: Mikaela Suomalainen Date: Wed, 24 Sep 2014 18:28:18 +0300 Subject: [PATCH] irc/logging: move from gist.github.com --- irc/logging/README.md | 2 ++ irc/logging/WeeChat.txt | 4 ++++ irc/logging/ZNC.txt | 2 ++ 3 files changed, 8 insertions(+) create mode 100644 irc/logging/README.md create mode 100644 irc/logging/WeeChat.txt create mode 100644 irc/logging/ZNC.txt 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