There are times in the Event Manager when access to the server logfile name is needed. For example, you may want to move the previous logfile offsite to a new folder once the logfile is rotated. Or, you may want to know the filename of the current log or the path. 


Titan FTP Server and Cornerstone MFT Server 2019 have the following variables for use in the event management system.


%SVR.LOGFILENAME%

%SVR.LOGFILENAME.PATH%

%SVR.LOGFILENAME.NAME%

%SVR.LOGFILENAME.NAME.NAME%

%SVR.LOGFILENAME.NAME.EXT%

%SVR.LOGFILENAME.PREVIOUS%

%SVR.LOGFILENAME.PREVIOUS.PATH%

%SVR.LOGFILENAME.PREVIOUS.NAME%

%SVR.LOGFILENAME.PREVIOUS.NAME.NAME%

%SVR.LOGFILENAME.PREVIOUS.NAME.EXT%


Hint: To see exactly what is printed for each of these variables, set up a test event, such as On Logfile Rotated with an action to Write To Custom File and dump the values of these variables. The Action could look like....


SVR.LOGFILENAME = %SVR.LOGFILENAME%,

SVR.LOGFILENAME.PATH = %SVR.LOGFILENAME.PATH%,

etc...


Note: these variables are available in Titan 2019 and Cornerstone 2019 and later. They are not available in older versions of the software.