log_system_info function

Logs the basic information about the session.