make log boolean variable so in project it self we can set log enable or disable

Signed-off-by: Vimal Rajpara <vimalrajpara2006@gmail.com>