Debian Fixes Part 3

Logging re-added to Procedures & DB_RAW...
Just got DB_RAW_NO_QUOTES left todo