added getting log regions logic
added to string for log region