getLogFileName

session.getLogFileName() (professional and enterprise editions only)
Description
If screen-scraper is running in server mode, this will return the name of the file to which screen-scraper is logging. This can be useful in determining which log file corresponds to the current session.
Example
// Output the name of the log file to the session log.
session.log( "Current log file: " + session.getLogFileName() );