removed log before and after cache in SessionImpl (bugs if one needs a
session for toString())