comparison 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
comparison
equal deleted inserted replaced
861:77004857505b 862:6b65493d97cf
63 .Sh CONFIGURATION 63 .Sh CONFIGURATION
64 The following options are available under the 64 The following options are available under the
65 .Va [plugin.logger] 65 .Va [plugin.logger]
66 section: 66 section:
67 .Bl -tag -width 14n -offset Ds 67 .Bl -tag -width 14n -offset Ds
68 .It Va path No (string) 68 .It Va file No (string)
69 The path to the file where to store logs. Keywords: 69 The path to the file where to store logs. Keywords:
70 .Em channel , server , (date) . 70 .Em channel , server , (date) .
71 .El 71 .El
72 .\" TEMPLATES 72 .\" TEMPLATES
73 .Sh TEMPLATES 73 .Sh TEMPLATES
107 .\" EXAMPLES 107 .\" EXAMPLES
108 .Sh EXAMPLES 108 .Sh EXAMPLES
109 Example of configuration file: 109 Example of configuration file:
110 .Bd -literal 110 .Bd -literal
111 [plugin.logger] 111 [plugin.logger]
112 path = "/var/log/irccd/#{server}/%y/%m/%d/#{channel}.txt" 112 file = "/var/log/irccd/#{server}/%y/%m/%d/#{channel}.txt"
113 113
114 [templates.logger] 114 [templates.logger]
115 join = "user #{nickname} joined #{channel}" 115 join = "user #{nickname} joined #{channel}"
116 .Ed 116 .Ed
117 .\" SEE ALSO 117 .\" SEE ALSO