summaryrefslogtreecommitdiff
path: root/rsc
diff options
context:
space:
mode:
authorTor Lillqvist <tlillqvist@novell.com>2011-01-27 13:54:17 +0200
committerTor Lillqvist <tlillqvist@novell.com>2011-01-27 14:03:48 +0200
commitc9ce931cee63f2378e690fa87ed3e1d10d1f3909 (patch)
treeb5944815eeb5090d35dffff3d577d89729475cc6 /rsc
parentace3450feebe608d822b37ef1bf2ca44de6f9b5c (diff)
Revert "Be less verbose when dbglevel <= 2"
I had misunderstood. dbglevel=1 is the "normal" debugging level for when you want to be able to debug, and dbglevel=2 *is* the one to also get verbose debugging output. This reverts commit 0bc3445ae06919e9cf057b98b6d29981e6c2ef91.
Diffstat (limited to 'rsc')
-rw-r--r--rsc/source/rsc/rsc.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/rsc/source/rsc/rsc.cxx b/rsc/source/rsc/rsc.cxx
index a216614ebfbe..1d0b28165a05 100644
--- a/rsc/source/rsc/rsc.cxx
+++ b/rsc/source/rsc/rsc.cxx
@@ -148,7 +148,7 @@ RscCmdLine::RscCmdLine( int argc, char ** argv, RscError * pEH )
i = 1;
while( ppStr && i < (aCmdLine.GetCount() -1) )
{
-#if OSL_DEBUG_LEVEL > 2
+#if OSL_DEBUG_LEVEL > 1
fprintf( stderr, "CmdLineArg: \"%s\"\n", *ppStr );
#endif
if( '-' == **ppStr )
@@ -888,7 +888,7 @@ ERRTYPE RscCompiler::Link()
aSysSearchPath.Append( cSearchDelim );
aSysSearchPath.Append( aToken );
}
-#if OSL_DEBUG_LEVEL > 2
+#if OSL_DEBUG_LEVEL > 1
fprintf( stderr, "setting search path for language %s: %s\n", it->aLangName.GetBuffer(), aSysSearchPath.GetBuffer() );
#endif
pTC->SetSysSearchPath( aSysSearchPath );
@@ -1133,7 +1133,7 @@ bool RscCompiler::GetImageFilePath( const RscCmdLine::OutputFile& rOutputFile,
aAbsPath.ToAbs();
const FileStat aFS( aAbsPath.GetFull() );
-#if OSL_DEBUG_LEVEL > 2
+#if OSL_DEBUG_LEVEL > 1
fprintf( stderr, "Searching image: %s\n", ByteString( aRelPath.GetFull(), RTL_TEXTENCODING_ASCII_US ).GetBuffer() );
#endif
@@ -1177,7 +1177,7 @@ bool RscCompiler::GetImageFilePath( const RscCmdLine::OutputFile& rOutputFile,
fprintf( pSysListFile, "%s\n", rContext.pCmdLine->substitutePaths( aSysPathStr ).getStr() );
}
-#if OSL_DEBUG_LEVEL > 2
+#if OSL_DEBUG_LEVEL > 1
fprintf( stderr, "ImagePath to add: %s\n", rImagePath.GetBuffer() );
#endif
}