Add 24h for datetime in log + fix issue on try