loolwsd/ChildSession.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
New commits: commit 2ca592d0ac1c2efa30b59e2d930aa80177386cf9 Author: Ashod Nakashian <ashod.nakash...@collabora.co.uk> Date: Mon Oct 10 13:16:53 2016 -0400 loolwsd: log the username, Core View-ID, and WSD Session-ID together This helps debugging and tracing issues as this single log entry links the three most important pieces together: the user, how Core references the user's view to a given document, and how WSD references the same. Change-Id: I7bf88504b43eed85d40e6f8bc9c3bad713f372da Reviewed-on: https://gerrit.libreoffice.org/29935 Reviewed-by: Ashod Nakashian <ashnak...@gmail.com> Tested-by: Ashod Nakashian <ashnak...@gmail.com> diff --git a/loolwsd/ChildSession.cpp b/loolwsd/ChildSession.cpp index 9c68c62..cf2115c 100644 --- a/loolwsd/ChildSession.cpp +++ b/loolwsd/ChildSession.cpp @@ -311,7 +311,8 @@ bool ChildSession::loadDocument(const char * /*buffer*/, int /*length*/, StringT return false; } - Log::info("Created new view with viewid: [" + std::to_string(_viewId) + "] for username: [" + _userName + "]."); + Log::info() << "Created new view with viewid: [" << _viewId << + "] for username: [" << _userName + << "] in session: [" << getId() << "]." << Log::end; auto lockLokDoc(_loKitDocument->getLock()); _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits