c# - What is the meaning of RollingFileAppender in log4net -


i read documentation of don't understand it.it says:

rollingfileappender can roll log files based on size or date or both depending on setting of rollingstyle property. when set size log file rolled once size exceeds maximumfilesize. when set date log file rolled once date boundary specified in datepattern property crossed. when set composite log file rolled once date boundary specified in datepattern property crossed, within date boundary file rolled once size exceeds maximumfilesize. when set once log file rolled when appender configured. means log file can rolled once per program execution.

i trying find way everytime use file appender new file created not append same one.

rollingfileappender means system creates log file based on filters, way can have log files based on dates (one file each day), or file splitted small chunks when hits size.

from point of view, , depending on loggin do, best option in roll flat each day. way have log in handy size , don't have deal massive files need specific tools work them.


Comments

Popular posts from this blog

java - activate/deactivate sonar maven plugin by profile? -

python - TypeError: can only concatenate tuple (not "float") to tuple -

java - What is the difference between String. and String.this. ? -