changeset 32:b5906772bac0

Plugin logger: - Use file paramater (like hangman), - Update documentation.
author David Demelier <markand@malikania.fr>
date Mon, 22 Feb 2016 13:29:31 +0100
parents 50b7b5d287e8
children e8babd617778
files plugins/logger/logger.md
diffstat 1 files changed, 7 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/plugins/logger/logger.md	Mon Feb 22 13:25:31 2016 +0100
+++ b/plugins/logger/logger.md	Mon Feb 22 13:29:31 2016 +0100
@@ -36,7 +36,7 @@
 
 The following options are available under the `[plugin.logger]` section:
 
-  - **path**: (string) the path to the file where to store logs,
+  - **file**: (string) the path to the file where to store logs,
   - **cmode**: (string) format for channel mode change,
   - **cnotice**: (string) format for channel notices,
   - **join**: (string) format when someone joins a channel,
@@ -72,8 +72,13 @@
 
 Example:
 
+<div class="panel panel-info">
+ <div class="panel-heading">~/.config/irccd/irccd.conf</div>
+ <div class="panel-body">
 ````ini
 [plugin.logger]
-path = "/var/logs/irccd/#{server}/%y/%m/%d/#{source}.txt"
+file = "/var/log/irccd/#{server}/%y/%m/%d/#{source}.txt"
 format-join = "user #{nickname} joined #{channel}"
 ````
+ </div>
+</div>