diff --git a/include/site.h b/include/site.h index 2d997cb1b..21bc0e2a2 100644 --- a/include/site.h +++ b/include/site.h @@ -87,12 +87,4 @@ SOFTWARE. #define DEFAULT_ACCESS_CONTROL TRUE #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 */ diff --git a/os/log.c b/os/log.c index fd433e62f..0e5c06b2d 100644 --- a/os/log.c +++ b/os/log.c @@ -108,6 +108,14 @@ OR PERFORMANCE OF THIS SOFTWARE. void (*OsVendorVErrorFProc) (const char *, va_list args) = NULL; #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 int logFileFd = -1; static Bool logFlush = FALSE;