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:
parent
e21371984d
commit
4ebce1ed8b
|
@ -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 */
|
||||||
|
|
8
os/log.c
8
os/log.c
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue