Exported functions for using logfile, added rtl_logfile utility