Logging level changes and ordered ancestor queries with cursors

unit test coming soon