Fix extension logging error