fixed #3: add debug info to oa.log