How to limit the size of runtimelog.txt file in pega robotics

Hi,

Runtime logs are appending to the same runtimelog.txt file and it is increasing upto 100GB.

How to limit the size and how to append the logs to the new log file.

Any help is appreciated.

Thanks,

@GangaR17222075 Logging is intended for troubleshooting purposes and can affect performance while enabled. If you do wish to keep it enabled, I suggest either lowering the log level to allow for fewer items logged (you can use level 3 or lower to dramatically reduce the file size) or using the Log4NetPublisher instead of the FilePublisher. The Log4NetPublisher uses the standard Log4Net settings to handle logging. You can control the maximum size of the file as well as how many backups it will have. Keep in-mind, that the backups are rolling, so older files will get deleted, and you will lose that information. I prefer to set mine as shown below where the maximum size is 1GB as this generally provides enough data for troubleshooting.