mirror of
https://github.com/X11Libre/xserver.git
synced 2026-03-24 10:14:52 +00:00
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:
committed by
Adam Jackson
parent
e21371984d
commit
4ebce1ed8b
@@ -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 */
|
||||
|
||||
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;
|
||||
#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;
|
||||
|
||||
Reference in New Issue
Block a user