Question8Replies112Views RoccoM32 Member since 2017 2 posts PWC Posted: 2 years agoLast activity: 2 years 7 months ago Closed Solved File RuntimeLog.txt in Windows Event ViewerHi,can you set RuntimeLog.txt to a specific Windows Event Viewer folder?Thanks×Close popoverFacebookTwitterLinkedinEmail Copy Link Copied! Moderation Team has archived post This thread is closed to future replies. Content and links will no longer be updated. If you have the same/similar Question, please write a new Question. Posted: 2 years agogrona PEGA replied to RoccoM32http://help.openspan.com/80/Platform_Configuration/OpenSpan_Runtime_Exe… http://help.openspan.com/80/Platform_Configuration/RuntimeConfigXML.htm… Posted: 2 years agoRoccoM32 PWC replied to gronaI have already seen this link but, in OpenSpan.Runtime.exe.config file, where do you need to modify or insert the event viewer path? In attached the OpenSpan.Runtime.exe.config file. Thanks Posted: 2 years agosasnt PEGA replied to RoccoM32What folder are you trying to write to? Posted: 2 years agojeffbadger PEGA replied to RoccoM32The Runtimelog does not write to an Event Viewer folder. It is a text file - not an eventlog file. Posted: 2 years agoRoccoM32 PWC replied to jeffbadgerI would like the Runtimelog file not to be present in AppData, but in a specific folder. Accepted Solution Posted: 2 years agosasnt PEGA replied to RoccoM32You can change the fileName attribute in the RuntimeConfig.xml for the OpenSpan.Diagnostics.Publishers.FilePublisher to point to a specific path. The path should be local to the machine as it writes lots of data. <publisher mode="off" trace_mode="on" exception_mode="on" assembly="OpenSpan" type="OpenSpan.Diagnostics.Publishers.FilePublisher" fileName="C:\Logs\RuntimeLog.txt" filesToKeep="1" initMode="ClearLog" /> Posted: 2 years agoRoccoM32 PWC replied to sasntIf I put as path "C:\Windows\System32\winevt\Logs\RuntimeLog.txt", the file RuntimeLog.txt is not created. But for example on the desktop it was created correctly. Posted: 2 years agojeffbadger PEGA replied to RoccoM32You can also change the location to one of 3 places by editing the CommonConfig.xml file in C:\ProgramData\OpenSpan. Here are the locations available.