Designing good session identifiers for logging is not trivial. More importantly, with a lot of events happening in javascript, a lot of user interactions are occurring beyond the visibility of your server logs. Tracking js events is also clearly possible, but again, non trivial. I've been in more than one situation where we trusted GA more than our own logs.