added date conversion , and fixed init script logging param