Fixed access to log_files when called within the lib itself