don't log passwords by default, but make password logging optional
[bpdyndnsd] / src / logger.hpp
index cc3c1f0..18be8f3 100644 (file)
@@ -29,6 +29,7 @@ private:
     int ExternalWarningLevel;
     std::set<std::string> ExternalSendMessages;
     bool ExternalLogOnlyOnce;
+    bool LogPasswords;
 
 public:
 
@@ -40,6 +41,8 @@ public:
 
     void set_external_log_only_once( const bool _external_log_only_once );
 
+    void set_log_passwords( const bool _log_passwords );
+
     void clear_external_send_messages();
 
     std::string escape_shellarg(const std::string &input);