Fixed this bug in the apnagent library itself
Default debug logging to console now we have sherlock to change logging