* rename the logger function to uts_logger * add logging to the create_tsctx fucntion * fix some warning *