MAINT-5232: Abbreviate __FILE__ path in log_subsystem_cleanup().

LLError::abbreviateFile() is specifically to avoid cluttering log output with
the prefix of an absolute file path on the original build system, pointless
for anyone trying to read the log.
meow-7.2.2
Nat Goodspeed 2016-09-02 14:03:28 -04:00
parent 56a83d2115
commit a05ee7324d
1 changed files with 3 additions and 2 deletions

View File

@ -18,11 +18,12 @@
// external library headers
// other Linden headers
#include "llerror.h"
#include "llerrorcontrol.h"
void log_subsystem_cleanup(const char* file, int line, const char* function,
const char* classname)
{
LL_INFOS("Cleanup") << file << "(" << line << "): calling "
<< classname << "::cleanupClass() in "
LL_INFOS("Cleanup") << LLError::abbreviateFile(file) << "(" << line << "): "
<< "calling " << classname << "::cleanupClass() in "
<< function << LL_ENDL;
}