This is an episode that made me wonder - why does the crew keep "personal logs?" I mean, what is the function of them? Other than letting the audience know what's going on...
It's so Starfleet can view your logs, see who you're interacting with and identify possible terrorist threats based on this information. It's collected but not viewed without express authorization from the Federation high council.