Log file
Posted: Thu Aug 29, 2019 1:19 am
any other way to use file logging. I am trying to use
but log files gets too big and I can not find any config to limit log file size. what I want to achieve is to log into a new log file when the existing log file reaches certain size. the existing log file is renamed according to the time. just like any other logging utils.
Code: Select all
LogManager.SetLoggerFactory(new FileLogFactory(logfileName, LogLevel.Info));