more debug info
added support for logging location history