added apr call wrapper; upgraded logger