fixed logging issue on different environemnt adding custom logging system implementation