try this in RIFL
dim msg1 as djmessage
dim v_logLocation
set msg1 = findmessage("msg1")
if not msg1 is nothing then
v_logLocation = environ("PVSW_LOG") & "/" & msg1.properties("dcuuid")
end if
At the end of that statement, v_logLocation would have the location of the log for the current running process.