logging: use AVR_LOG instead of GLOBAL_LOG