Few edits on logging + logging error tracing added