/*++ Copyright (c) 1991 Microsoft Corporation Module Name: elfcfg.h Abstract: This file contains default settings for the eventlog service. Author: Rajen Shah (rajens) 16-Aug-1991 Revision History: --*/ #ifndef _EVENTDEFAULTS_ #define _EVENTDEFAULTS_ // // Default for the Application log file // // #define ELF_DEFAULT_MODULE_NAME ELF_APPLICATION_MODULE_NAME #define ELF_APPLICATION_DEFAULT_LOG_FILE L"%SystemRoot%\\system32\\config\\appevent.evt" #define ELF_SYSTEM_DEFAULT_LOG_FILE L"%SystemRoot%\\system32\\config\\sysevent.evt" #define ELF_SECURITY_DEFAULT_LOG_FILE L"%SystemRoot%\\system32\\config\\secevent.evt" #define ELF_DEFAULT_MAX_FILE_SIZE 512*1024 #define ELF_DEFAULT_RETENTION_PERIOD 7*24*3600 #define ELF_DEFAULT_WARNING_LEVEL 0 #define ELF_DEFAULT_AUTOBACKUP 0 #define ELF_GUEST_ACCESS_UNRESTRICTED 0 #define ELF_GUEST_ACCESS_RESTRICTED 1 // // Default title for the "log full" message box // #define ELF_DEFAULT_MESSAGE_BOX_TITLE L"Eventlog Service" // // Maximum size for the buffer that will read the key values from the // registry. // #define ELF_MAX_REG_KEY_INFO_SIZE 200 // // String defines for the pre-defined nodes in the registry // These are used to get to the appropriate nodes. // #define REG_EVENTLOG_NODE_PATH \ L"\\Registry\\Machine\\System\\CurrentControlSet\\Services\\Eventlog" #define REGSTR_VAL_AUTOBACKUPLOGFILES L"AutoBackupLogFiles" #define REG_COMPUTERNAME_NODE_PATH \ L"\\Registry\\Machine\\System\\CurrentControlSet\\Control\\ComputerName\\ActiveComputerName" //SS: start of changes for replicated event logging across the cluster #define REG_CLUSSVC_NODE_PATH \ L"\\Registry\\Machine\\System\\CurrentControlSet\\Services\\ClusSvc" //SS: end of changes for replicated event logging across the cluster // // String defines for the values for each of the configured pieces of // information in the eventlog\logfiles node. These exist per logfile. // // #define VALUE_FILENAME L"File" #define VALUE_MAXSIZE L"Maxsize" #define VALUE_RETENTION L"Retention" #define VALUE_RESTRICT_GUEST_ACCESS L"RestrictGuestAccess" #define VALUE_LOGPOPUP L"LogFullPopup" #define VALUE_DEBUG L"ElfDebugLevel" #define VALUE_COMPUTERNAME L"ComputerName" #define VALUE_WARNINGLEVEL L"WarningLevel" #define VALUE_CUSTOM_SD L"CustomSD" #if defined(_WIN64) #define ALIGN_UP_64(x,t) (((x) + (t) - 1) & ~((t)-1)) #else #define ALIGN_UP_64(x,t) (x) #endif #endif // ifndef _EVENTDEFAULTS_