summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-05-16 15:00:36 +0100
committerCaolán McNamara <caolanm@redhat.com>2011-05-20 15:23:08 +0100
commit9fa5c3f513dabd4c7b95a352accd0cae09c38c89 (patch)
tree20f2d11eea5cc2c95ae74da0c26b3d7425d35c65
parentc5d95535677992d90938e18315bc34bf81dda11e (diff)
do we really need to be so noisy when nothing is actually wrong
-rwxr-xr-xdesktop/unx/source/start.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/desktop/unx/source/start.c b/desktop/unx/source/start.c
index 23cb3a38e3..242a83bc11 100755
--- a/desktop/unx/source/start.c
+++ b/desktop/unx/source/start.c
@@ -79,7 +79,7 @@ charp_to_ustr( const char *pStr )
}
/* Easier debugging of rtl_uString values. */
-#if OSL_DEBUG_LEVEL > 0
+#if OSL_DEBUG_LEVEL > 1
static void
ustr_debug( const char *pMessage, rtl_uString *pStr )
{
@@ -236,7 +236,7 @@ get_md5hash( rtl_uString *pText )
if ( !pText )
return NULL;
-#if OSL_DEBUG_LEVEL > 0
+#if OSL_DEBUG_LEVEL > 1
rtl_String *pOut = ustr_to_str( pText );
fprintf (stderr, "Generate pipe md5 for '%s'\n", pOut->buffer);
rtl_string_release( pOut );
@@ -697,7 +697,7 @@ read_percent( ChildInfo *info, int *pPercent )
}
}
-#if OSL_DEBUG_LEVEL > 0
+#if OSL_DEBUG_LEVEL > 1
fprintf( stderr, "Got status: %s\n", pBegin );
#endif
if ( !strncasecmp( pBegin, "end", 3 ) )
@@ -884,7 +884,7 @@ exec_javaldx (Args *args)
*chomp = '\0';
}
-#if OSL_DEBUG_LEVEL > 0
+#if OSL_DEBUG_LEVEL > 1
fprintf (stderr, "Adding javaldx path of '%s'\n", newpath);
#endif
extend_library_path (newpath);
@@ -932,7 +932,7 @@ SAL_IMPLEMENT_MAIN_WITH_ARGS( argc, argv )
close( fd );
}
-#if OSL_DEBUG_LEVEL > 0
+#if OSL_DEBUG_LEVEL > 1
else
ustr_debug( "Failed to connect to pipe", pPipePath );
#endif
@@ -990,7 +990,7 @@ SAL_IMPLEMENT_MAIN_WITH_ARGS( argc, argv )
bShortWait = sal_False;
}
-#if OSL_DEBUG_LEVEL > 0
+#if OSL_DEBUG_LEVEL > 1
fprintf( stderr, "Polling, result is %s\n",
( eResult == ProgressContinue )? "continue" :
( ( eResult == ProgressRestart )? "restart" : "exit" ) );