os: Move log verbosity defaults into os/log.c

There's not any configuration knobs for this so there's no real reason
to leave them in a configgy header.
This commit is contained in:
Adam Jackson 2019-10-16 13:56:34 -04:00 committed by Adam Jackson
parent e21371984d
commit 4ebce1ed8b
2 changed files with 8 additions and 8 deletions

View File

@ -87,12 +87,4 @@ SOFTWARE.
#define DEFAULT_ACCESS_CONTROL TRUE #define DEFAULT_ACCESS_CONTROL TRUE
#endif #endif
/* Default logging parameters. */
#ifndef DEFAULT_LOG_VERBOSITY
#define DEFAULT_LOG_VERBOSITY 0
#endif
#ifndef DEFAULT_LOG_FILE_VERBOSITY
#define DEFAULT_LOG_FILE_VERBOSITY 3
#endif
#endif /* SITE_H */ #endif /* SITE_H */

View File

@ -108,6 +108,14 @@ OR PERFORMANCE OF THIS SOFTWARE.
void (*OsVendorVErrorFProc) (const char *, va_list args) = NULL; void (*OsVendorVErrorFProc) (const char *, va_list args) = NULL;
#endif #endif
/* Default logging parameters. */
#ifndef DEFAULT_LOG_VERBOSITY
#define DEFAULT_LOG_VERBOSITY 0
#endif
#ifndef DEFAULT_LOG_FILE_VERBOSITY
#define DEFAULT_LOG_FILE_VERBOSITY 3
#endif
static FILE *logFile = NULL; static FILE *logFile = NULL;
static int logFileFd = -1; static int logFileFd = -1;
static Bool logFlush = FALSE; static Bool logFlush = FALSE;