I write both down, just a reminder who I flew with and I try to know everybody's name so next time I don't have to just say "hey! hi" thing. I can actually insert a name there, knowing other co-workers name goes a long way! =)
PS: I also write the capt's name on my note section in the logbook.