I am starting a python script via a pm2 during startups, I name the Log file with the date and time the script starts.
Sometimes the TX2 is hard powered down by turning off the power supply, when turning on the TX2 again, the logger gets logged into the old file, For some reason the python script is not creating a new log file.
Every-time I restart the pm2 or the TX2 a new log file is created.
What could be the possible cause? How would i debug this problem