aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/llcommon/llapr.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--linden/indra/llcommon/llapr.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/linden/indra/llcommon/llapr.cpp b/linden/indra/llcommon/llapr.cpp
index 08c40a4..78bf876 100644
--- a/linden/indra/llcommon/llapr.cpp
+++ b/linden/indra/llcommon/llapr.cpp
@@ -54,7 +54,7 @@ void ll_init_apr()
54 54
55void ll_cleanup_apr() 55void ll_cleanup_apr()
56{ 56{
57 llinfos << "Cleaning up APR" << llendl; 57 LL_INFOS("APR") << "Cleaning up APR" << LL_ENDL;
58 58
59 if (gLogMutexp) 59 if (gLogMutexp)
60 { 60 {
@@ -118,7 +118,7 @@ bool ll_apr_warn_status(apr_status_t status)
118 if(APR_SUCCESS == status) return false; 118 if(APR_SUCCESS == status) return false;
119#ifndef LL_WINDOWS 119#ifndef LL_WINDOWS
120 char buf[MAX_STRING]; /* Flawfinder: ignore */ 120 char buf[MAX_STRING]; /* Flawfinder: ignore */
121 llwarns << "APR: " << apr_strerror(status, buf, MAX_STRING) << llendl; 121 LL_WARNS_ONCE("APR") << "APR: " << apr_strerror(status, buf, MAX_STRING) << LL_ENDL;
122#endif 122#endif
123 return true; 123 return true;
124} 124}
@@ -294,7 +294,7 @@ bool ll_apr_file_remove(const LLString& filename, apr_pool_t* pool)
294 s = apr_file_remove(filename.c_str(), pool); 294 s = apr_file_remove(filename.c_str(), pool);
295 if (s != APR_SUCCESS) 295 if (s != APR_SUCCESS)
296 { 296 {
297 lldebugs << "ll_apr_file_remove failed on file: " << filename << llendl; 297 LL_DEBUGS("APR") << "ll_apr_file_remove failed on file: " << filename << LL_ENDL;
298 ll_apr_warn_status(s); 298 ll_apr_warn_status(s);
299 return false; 299 return false;
300 } 300 }
@@ -308,7 +308,7 @@ bool ll_apr_file_rename(const LLString& filename, const LLString& newname, apr_p
308 s = apr_file_rename(filename.c_str(), newname.c_str(), pool); 308 s = apr_file_rename(filename.c_str(), newname.c_str(), pool);
309 if (s != APR_SUCCESS) 309 if (s != APR_SUCCESS)
310 { 310 {
311 lldebugs << "ll_apr_file_rename failed on file: " << filename << llendl; 311 LL_DEBUGS("APR") << "ll_apr_file_rename failed on file: " << filename << LL_ENDL;
312 ll_apr_warn_status(s); 312 ll_apr_warn_status(s);
313 return false; 313 return false;
314 } 314 }
@@ -365,7 +365,7 @@ bool ll_apr_dir_make(const LLString& dirname, apr_pool_t* pool)
365 s = apr_dir_make(dirname.c_str(), APR_FPROT_OS_DEFAULT, pool); 365 s = apr_dir_make(dirname.c_str(), APR_FPROT_OS_DEFAULT, pool);
366 if (s != APR_SUCCESS) 366 if (s != APR_SUCCESS)
367 { 367 {
368 lldebugs << "ll_apr_dir_make failed on file: " << dirname << llendl; 368 LL_DEBUGS("APR") << "ll_apr_dir_make failed on file: " << dirname << LL_ENDL;
369 ll_apr_warn_status(s); 369 ll_apr_warn_status(s);
370 return false; 370 return false;
371 } 371 }
@@ -379,7 +379,7 @@ bool ll_apr_dir_remove(const LLString& dirname, apr_pool_t* pool)
379 s = apr_file_remove(dirname.c_str(), pool); 379 s = apr_file_remove(dirname.c_str(), pool);
380 if (s != APR_SUCCESS) 380 if (s != APR_SUCCESS)
381 { 381 {
382 lldebugs << "ll_apr_dir_remove failed on file: " << dirname << llendl; 382 LL_DEBUGS("APR") << "ll_apr_dir_remove failed on file: " << dirname << LL_ENDL;
383 ll_apr_warn_status(s); 383 ll_apr_warn_status(s);
384 return false; 384 return false;
385 } 385 }