Its not the logging to file thats the problem. More finding out which procedure is currently executing. Just hate changing everytime. Be nice is there was some sort of function that would return the name of the current procedure.