BRISK_SINGLE_SESS and BRISK_SINGLE_DEBUG added, some log move from _read to _lock