Update Logs.php

getdate() function returns numbers without leading zero, what is needed, so i changed it to date() function