BUG: Debug Log file not written to because function was using "owl_debug" instead of "debug"