Sorry but i don't understand what you want...
Can you post your code ? part of your sql files ?
How do you execute the content of your sql files ?
What do you want to write in your logfile ?
Your question in far too open for me to answer.
Gribouillis commented: Nice. I didn't think it was possible with translate. +3
jice 53 Posting Whiz in Training
deonis commented: very nice post! Well explained ! +1