use azure logging on config switch