Use logger instead of print in dashboard plugin