Please notice that forums and news and documentation have moved elsewhere.

Ignore:
Timestamp:
06/16/11 23:00:44 (3 years ago)
Author:
Michael Medin <michael@…>
Branches:
master, 0.4.0, 0.4.1, 0.4.2
Children:
e11d494
Parents:
3bdaf18
Message:

various fixes and changes here and there
Mainly build related (been trying to fix symbol dumper problems) as well as tweaks for the up-coming "nightly release")

File:
1 edited

Legend:

Unmodified
Added
Removed
  • modules/FileLogger/FileLogger.cpp

    r3bdaf18 r7ec3dd1  
    4242} 
    4343FileLogger::~FileLogger() { 
     44} 
     45namespace setting_keys { 
     46 
     47  namespace log { 
     48    DEFINE_PATH(SECTION, LOG_SECTION); 
     49    //DESCRIBE_SETTING_ADVANCED(SECTION, "LOG SECTION", "Configure loggning properties."); 
     50 
     51    DEFINE_SETTING_S(FILENAME, LOG_SECTION, "file", "nsclient.log"); 
     52    //DESCRIBE_SETTING_ADVANCED(FILENAME, "SYNTAX", "The file to write log data to. If no directory is used this is relative to the NSClient++ binary."); 
     53 
     54    DEFINE_SETTING_S(ROOT, LOG_SECTION, "root", "auto"); 
     55    //DESCRIBE_SETTING_ADVANCED(ROOT, "TODO", "TODO"); 
     56 
     57    DEFINE_SETTING_S(DATEMASK, LOG_SECTION, "date format", "%Y-%m-%d %H:%M:%S"); 
     58    //DESCRIBE_SETTING_ADVANCED(DATEMASK, "DATEMASK", "The date format used when logging to a file."); 
     59 
     60    DEFINE_SETTING_S(LOG_MASK, LOG_SECTION, "log mask", "normal"); 
     61    //DESCRIBE_SETTING_ADVANCED(LOG_MASK, "LOG MASK", "The log mask information, error, warning, critical, debug"); 
     62 
     63    DEFINE_SETTING_B(DEBUG_LOG, LOG_SECTION, "debug", false); 
     64    //DESCRIBE_SETTING_ADVANCED(DEBUG_LOG, "DEBUG LOGGING", "Enable debug logging can help track down errors and find problems but will impact overall perfoamnce negativly."); 
     65  } 
    4466} 
    4567 
Note: See TracChangeset for help on using the changeset viewer.