I want to log the data received via the serial port to file on a daily base. Means for every day a new file should be created. I run a 24/7 test, where the device outputs it's state to the serial port. On the Windows PC I want to receive the data and log it to file. One file per day.
Currently I run a putty session for logging. Putty currently just creates a new file when the session is started. The file are getting really big so it can't really be handled, also the overview in a file with some million lines get lost.
Is there a way to log via putty and let putty create for every day a new log file? Or do you have any other ideas to handle this problem?