Added neccessary logging mechanism by using standard ruby logger