figured out how to append custom logging for tls, now to write the logger