Use substitiion variable for the log directory