now using thread inherited logs for debuggin