Skip to content
Snippets Groups Projects
Commit 6276a9a0 authored by rswindell's avatar rswindell
Browse files

If SBBSNTSVCS is defined, the default log_mask excludes info and debug log

output (reducing the number of NT events logged by default).
parent 36bc48f5
No related branches found
No related tags found
No related merge requests found
...@@ -42,7 +42,7 @@ RSC=rc.exe ...@@ -42,7 +42,7 @@ RSC=rc.exe
# PROP Ignore_Export_Lib 0 # PROP Ignore_Export_Lib 0
# PROP Target_Dir "" # PROP Target_Dir ""
# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c # ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c
# ADD CPP /nologo /MT /W3 /GX /O2 /I "..\xpdev" /I "..\smblib" /D "NDEBUG" /D "WIN32" /D "_CONSOLE" /D "_MBCS" /FD /c # ADD CPP /nologo /MT /W3 /GX /O2 /I "..\xpdev" /I "..\smblib" /D "NDEBUG" /D "WIN32" /D "_CONSOLE" /D "_MBCS" /D "SBBSNTSVCS" /FD /c
# SUBTRACT CPP /YX # SUBTRACT CPP /YX
# ADD BASE RSC /l 0x409 /d "NDEBUG" # ADD BASE RSC /l 0x409 /d "NDEBUG"
# ADD RSC /l 0x409 /d "NDEBUG" # ADD RSC /l 0x409 /d "NDEBUG"
...@@ -67,7 +67,7 @@ LINK32=link.exe ...@@ -67,7 +67,7 @@ LINK32=link.exe
# PROP Ignore_Export_Lib 0 # PROP Ignore_Export_Lib 0
# PROP Target_Dir "" # PROP Target_Dir ""
# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c # ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c
# ADD CPP /nologo /MTd /W3 /Gm /GX /ZI /Od /I "..\xpdev" /I "..\smblib" /D "_DEBUG" /D "WIN32" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c # ADD CPP /nologo /MTd /W3 /Gm /GX /ZI /Od /I "..\xpdev" /I "..\smblib" /D "_DEBUG" /D "WIN32" /D "_CONSOLE" /D "_MBCS" /D "SBBSNTSVCS" /YX /FD /GZ /c
# ADD BASE RSC /l 0x409 /d "_DEBUG" # ADD BASE RSC /l 0x409 /d "_DEBUG"
# ADD RSC /l 0x409 /d "_DEBUG" # ADD RSC /l 0x409 /d "_DEBUG"
BSC32=bscmake.exe BSC32=bscmake.exe
......
...@@ -51,7 +51,11 @@ static const char* strLogMask="LogMask"; ...@@ -51,7 +51,11 @@ static const char* strLogMask="LogMask";
static const char* strBindRetryCount="BindRetryCount"; static const char* strBindRetryCount="BindRetryCount";
static const char* strBindRetryDelay="BindRetryDelay"; static const char* strBindRetryDelay="BindRetryDelay";
#define DEFAULT_LOG_MASK 0xff /* EMERG|ALERT|CRIT|ERR|WARNING|NOTICE|INFO|DEBUG */ #if defined(SBBSNTSVCS)
#define DEFAULT_LOG_MASK 0x3f /* EMERG|ALERT|CRIT|ERR|WARNING|NOTICE */
#else
#define DEFAULT_LOG_MASK 0xff /* EMERG|ALERT|CRIT|ERR|WARNING|NOTICE|INFO|DEBUG */
#endif
#define DEFAULT_MAX_MSG_SIZE (10*1024*1024) /* 10MB */ #define DEFAULT_MAX_MSG_SIZE (10*1024*1024) /* 10MB */
#define DEFAULT_BIND_RETRY_COUNT 10 #define DEFAULT_BIND_RETRY_COUNT 10
#define DEFAULT_BIND_RETRY_DELAY 15 #define DEFAULT_BIND_RETRY_DELAY 15
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment