Révision d33bb414
Ajouté par Jérôme Schneider il y a environ 12 ans
mandaye/config.py | ||
---|---|---|
11 | 11 |
syslog = False |
12 | 12 |
log_file = '/var/log/mandaye/mandaye.log' |
13 | 13 |
log_level = logging.INFO |
14 |
# Log rotation |
|
15 |
# W[0-6] : weekly (0: Monday), D: day, ... (python doc) |
|
16 |
log_when = 'W6' |
|
17 |
# Every week |
|
18 |
log_interval = 1 |
|
19 |
# BackupCount (keep one year of log) |
|
20 |
log_backup = 52 |
|
14 | 21 |
|
15 | 22 |
# Template directory |
16 | 23 |
template_directory = 'mandaye/templates' |
... | ... | |
72 | 79 |
'session.expire': 3600, |
73 | 80 |
} |
74 | 81 |
|
75 |
# token timeout (for Vincennes)
|
|
82 |
# token timeout |
|
76 | 83 |
# timeout in seconds |
77 | 84 |
token_timeout = 60 |
78 | 85 |
|
Formats disponibles : Unified diff
Fix #1265: manage log rotation