[Libreoffice-commits] online.git: loolwsd/LOOLKit.cpp
Ashod Nakashian
ashod.nakashian at collabora.co.uk
Wed Aug 31 04:36:43 UTC 2016
loolwsd/LOOLKit.cpp | 3 +++
1 file changed, 3 insertions(+)
New commits:
commit d8a38f58592dd02b5dcfd88a7d266f1fb5239eb0
Author: Ashod Nakashian <ashod.nakashian at collabora.co.uk>
Date: Tue Aug 30 14:30:24 2016 -0400
loolwsd: startup logs
Change-Id: I90e7debbe881eafc9d65f4ff6a5d5f39d8277c0e
Reviewed-on: https://gerrit.libreoffice.org/28519
Reviewed-by: Ashod Nakashian <ashnakash at gmail.com>
Tested-by: Ashod Nakashian <ashnakash at gmail.com>
diff --git a/loolwsd/LOOLKit.cpp b/loolwsd/LOOLKit.cpp
index f81adae..944a029 100644
--- a/loolwsd/LOOLKit.cpp
+++ b/loolwsd/LOOLKit.cpp
@@ -1535,6 +1535,7 @@ bool globalPreinit(const std::string &loTemplate)
void *handle;
if (File(libMerged).exists())
{
+ Log::trace("dlopen(" + libMerged + ", RTLD_GLOBAL|RTLD_NOW)");
handle = dlopen(libMerged.c_str(), RTLD_GLOBAL|RTLD_NOW);
if (!handle)
{
@@ -1547,6 +1548,7 @@ bool globalPreinit(const std::string &loTemplate)
{
if (File(libSofficeapp).exists())
{
+ Log::trace("dlopen(" + libSofficeapp + ", RTLD_GLOBAL|RTLD_NOW)");
handle = dlopen(libSofficeapp.c_str(), RTLD_GLOBAL|RTLD_NOW);
if (!handle)
{
@@ -1569,6 +1571,7 @@ bool globalPreinit(const std::string &loTemplate)
return false;
}
+ Log::trace("lok_preinit(" + loTemplate + "/program\", \"file:///user\")");
if (preInit((loTemplate + "/program").c_str(), "file:///user") != 0)
{
Log::error("lok_preinit() in " + loadedLibrary + " failed");
More information about the Libreoffice-commits
mailing list