printing log via text in a settings window. opening log files for different dates and current day