Adding debug output for the sql replication - will send the output() calls to the log