Add session id in logs & rmv print_r

* Added session id in log context
* Removed `print_r` in logs