Revision 77db889c
Gestion de la rotation des logs par python lui-même
git-svn-id: https://vigilo-dev.si.c-s.fr/svn@3457 b22e2e97-25c9-44ff-b637-2e5ceca36478
deployment/settings.ini | ||
---|---|---|
145 | 145 |
formatter = generic |
146 | 146 |
|
147 | 147 |
[handler_sql_log] |
148 |
class = FileHandler |
|
148 |
class = TimedRotatingFileHandler
|
|
149 | 149 |
args = ('/var/log/vigilo/vigigraph/sql.log','a') |
150 | 150 |
level = DEBUG |
151 | 151 |
formatter = generic |
152 |
when = D |
|
153 |
interval = 30 |
|
154 |
backupcount = 12 |
|
152 | 155 |
|
153 | 156 |
[handler_root_log] |
154 |
class = FileHandler |
|
157 |
class = TimedRotatingFileHandler
|
|
155 | 158 |
args = ('/var/log/vigilo/vigigraph/root.log','a') |
156 | 159 |
level = DEBUG |
157 | 160 |
formatter = generic |
161 |
when = D |
|
162 |
interval = 30 |
|
163 |
backupcount = 12 |
|
158 | 164 |
|
159 | 165 |
[handler_vigigraph_log] |
160 |
class = FileHandler |
|
166 |
class = TimedRotatingFileHandler
|
|
161 | 167 |
args = ('/var/log/vigilo/vigigraph/vigigraph.log','a') |
162 | 168 |
level = DEBUG |
163 | 169 |
formatter = generic |
170 |
when = D |
|
171 |
interval = 30 |
|
172 |
backupcount = 12 |
|
164 | 173 |
|
165 | 174 |
[handler_auth_log] |
166 |
class = FileHandler |
|
175 |
class = TimedRotatingFileHandler
|
|
167 | 176 |
args = ('/var/log/vigilo/vigigraph/auth.log','a') |
168 | 177 |
level = DEBUG |
169 | 178 |
formatter = generic |
179 |
when = D |
|
180 |
interval = 30 |
|
181 |
backupcount = 12 |
|
170 | 182 |
|
171 | 183 |
; If you create additional formatters, add them as a key to [formatters] |
172 | 184 |
[formatter_generic] |
Also available in: Unified diff