added logging and increased log file size