... I meant a script(1) session. Sorry. But I bet screen also has some logging capabilities, if you want to do it that way.