2
0
mirror of https://github.com/xcat2/confluent.git synced 2025-02-20 12:31:37 +00:00
chenglch dc436fda74 Add log rotation support
Add TimedAndSizeRotatingFileHandler which mixes together
the RotatingFileHandler and TimedRotatingFileHandler from
python logging module to process the log data.

Add logrollover event to track the renamed information, so
that console session can read the log data from current log
file and last renamed file.

Global configuration is used by the log handler. The format
of the log section in '/etc/confluent/service.cfg' is like:
[log]
when = m
backup_count = 3
max_bytes = 8192
utc = False
2015-09-23 23:36:46 -04:00
2015-09-23 23:36:46 -04:00
2015-02-03 10:16:43 -05:00
Description
xCAT confluent - replacement of conserver and eventually xcatd
Pixar 18 MiB
Languages
Python 80.3%
Shell 15.6%
C 3.6%
Perl 0.3%