Logger: Add possibility to send sync requests.
Fix jasmine tests.