register as root logger in sample