Enable to custom logger

Enable to custom logger