in reply to Logging IP etc.
You do have a semicolon at the end of that line in the actual code, don't you?
--lnl