Making the log verbose in release and debug configuration