pass log position info in the log handler
pass log position info from Java side