diff plugins/logger/logger.7 @ 862:6b65493d97cf

plugin logger: rename path configuration to file, closes #1670
author David Demelier <markand@malikania.fr>
date Thu, 25 Jul 2019 21:10:00 +0000
parents a23b7b574ed2
children 5e25439fe98d
line wrap: on
line diff
--- a/plugins/logger/logger.7	Thu Jul 25 21:00:00 2019 +0000
+++ b/plugins/logger/logger.7	Thu Jul 25 21:10:00 2019 +0000
@@ -65,7 +65,7 @@
 .Va [plugin.logger]
 section:
 .Bl -tag -width 14n -offset Ds
-.It Va path No (string)
+.It Va file No (string)
 The path to the file where to store logs. Keywords:
 .Em channel , server , (date) .
 .El
@@ -109,7 +109,7 @@
 Example of configuration file:
 .Bd -literal
 [plugin.logger]
-path = "/var/log/irccd/#{server}/%y/%m/%d/#{channel}.txt"
+file = "/var/log/irccd/#{server}/%y/%m/%d/#{channel}.txt"
 
 [templates.logger]
 join = "user #{nickname} joined #{channel}"