summaryrefslogtreecommitdiff
path: root/sal
diff options
context:
space:
mode:
Diffstat (limited to 'sal')
-rw-r--r--sal/osl/unx/nlsupport.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sal/osl/unx/nlsupport.c b/sal/osl/unx/nlsupport.c
index fa796e62d93a..3dc687c03c7b 100644
--- a/sal/osl/unx/nlsupport.c
+++ b/sal/osl/unx/nlsupport.c
@@ -908,8 +908,8 @@ void _imp_getProcessLocale( rtl_Locale ** ppLocale )
setenv("LC_CTYPE", locale, 1 );
setenv("LANG", locale, 1 );
-#ifdef DEBUG
- fprintf( stderr, "nlsupport.c: _imp_getProcessLocale() returning %s as current locale.\n", locale );
+#if OSL_DEBUG_LEVEL > 1
+ OSL_TRACE("_imp_getProcessLocale() returning %s as current locale.\n", locale );
#endif
// pthread_mutex_unlock( &aLocalMutex );