Writing to log

trying to get full path