added logging basic data to file; what data is logged is extensible