]> git.sesse.net Git - casparcg/commitdiff
[logging] Suppress the logging of full path names in stack traces for Linux as well.
authorHelge Norberg <helge.norberg@svt.se>
Tue, 22 Nov 2016 21:16:16 +0000 (22:16 +0100)
committerHelge Norberg <helge.norberg@svt.se>
Tue, 22 Nov 2016 21:16:16 +0000 (22:16 +0100)
common/os/linux/stack_trace.cpp

index 1419a02fb59db21cd925a68f60acdf5d7c8c0c27..53a9c3567e841ff6213490cb8e734bba34a4f6e0 100644 (file)
@@ -104,7 +104,8 @@ std::wstring get_call_stack()
 
 const std::string& get_source_prefix()
 {
-       static const std::string SOURCE_PREFIX;
+       static const auto SOURCE_PREFIX = std::string(CASPAR_SOURCE_PREFIX) + "/";
+
        return SOURCE_PREFIX;
 }