In get_log_timestamp(), use the ISO 8601 date format %Y-%m-%d.