Ventoy Forums
Solved Log error - Printable Version

+- Ventoy Forums (https://forums.ventoy.net)
+-- Forum: iVentoy General Use —— iVentoy 使用交流 (https://forums.ventoy.net/forumdisplay.php?fid=7)
+--- Forum: iVentoy Discussion Forum (https://forums.ventoy.net/forumdisplay.php?fid=8)
+--- Thread: Solved Log error (/showthread.php?tid=2635)



Log error - Matschek - 08-23-2023

When I start iventoy.sh the log is flooded with entries like these, 2-3 new per second:

Code:
2023/08/23 08:25:31.186 [UTIL] Failed to open file <log/history/20230823_082530.log.gz> errno:2
2023/08/23 08:25:31.708 [UTIL] Failed to open file <log/history/20230823_082531.log.gz> errno:2
2023/08/23 08:25:32.183 [UTIL] Failed to open file <log/history/20230823_082531.log.gz> errno:2
2023/08/23 08:25:32.648 [UTIL] Failed to open file <log/history/20230823_082532.log.gz> errno:2
2023/08/23 08:25:33.064 [UTIL] Failed to open file <log/history/20230823_082532.log.gz> errno:2
2023/08/23 08:25:33.525 [UTIL] Failed to open file <log/history/20230823_082533.log.gz> errno:2
2023/08/23 08:25:33.980 [UTIL] Failed to open file <log/history/20230823_082533.log.gz> errno:2
2023/08/23 08:25:34.478 [UTIL] Failed to open file <log/history/20230823_082533.log.gz> errno:2
2023/08/23 08:25:34.961 [UTIL] Failed to open file <log/history/20230823_082534.log.gz> errno:2
2023/08/23 08:25:35.397 [UTIL] Failed to open file <log/history/20230823_082534.log.gz> errno:2

beside this, the services start and work.


RE: Log error - longpanda - 08-23-2023

The log means that iVentoy can not create file log/history/20230823_082534.log.gz.
So does log/history directory exist?


RE: Log error - Matschek - 08-23-2023

(08-23-2023, 02:44 PM)longpanda Wrote: So does log/history directory exist?
no, the folder did not exist.
After I created it manually, iVentoy archived its log to this location and the error disappeared.
Thanks!