Added logging and default values to lat and long data posting.