Output debugging info to log only if debugging is turned on

Do no output debugging information to Apache's log unless Elgg is in debug mode.