Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Patch by F.Chaix : add two "new" log appender methods : split and roll
authorAugustin Degomme <augustin.degomme@imag.fr>
Fri, 12 Dec 2014 15:46:01 +0000 (16:46 +0100)
committerAugustin Degomme <augustin.degomme@imag.fr>
Fri, 12 Dec 2014 16:29:32 +0000 (17:29 +0100)
commit2c1ecb86b090ca89cb62cd915dba85c88cc9b5f7
tree4a2b16d04da8afcc49e780f133d5b7a6e0dc7ffa
parent2f4e026adfbae8d54bb354dceeaafae28867f166
Patch by F.Chaix : add two "new" log appender methods : split and roll
split will create new files when a specified size is reached
roll will overwrite the file when this size is reached
example syntax is : --log=root.appender:splitfile:10000:myfilename_%.txt

The % is a wildcard that will be replaced by the number of the file. If no % is present, it will be at the end
include/xbt/log.h
src/xbt/log.c
src/xbt/xbt_log_appender_file.c