]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[3752] Improved logging comments
authorFrancis Dupont <fdupont@isc.org>
Wed, 8 Jul 2015 20:00:30 +0000 (22:00 +0200)
committerFrancis Dupont <fdupont@isc.org>
Wed, 8 Jul 2015 20:00:30 +0000 (22:00 +0200)
src/lib/dhcpsrv/logging.h

index 50fdc7f538d34b06aaa147c1f23d890733691855..dc950f1f7723853592f092312fe9a37e8f5abb44 100644 (file)
@@ -34,7 +34,8 @@ namespace dhcp {
 ///         {
 ///             "output": "/home/thomson/kea-inst/kea-warn.log",
 ///             "maxver": 8,
-///             "maxsize": 204800
+///             "maxsize": 204800,
+///             "flush": true
 ///         }
 ///     ],
 ///     "severity": "WARN"
@@ -74,16 +75,8 @@ private:
 
     /// @brief Parses output_options structure
     ///
-    /// An example data structure that holds output_options in JSON format
-    /// looks like this:
-    ///     "output_options": [
-    ///         {
-    ///             "output": "/var/log/kea-warn.log",
-    ///             "maxver": 8,
-    ///             "maxsize": 204800,
-    ///             "flush": ture
-    ///         }
-    ///     ],
+    /// @ref @c LogConfigParser for an example in JSON format.
+    ///
     /// @param destination parsed parameters will be stored here
     /// @param output_options element to be parsed
     void parseOutputOptions(std::vector<LoggingDestination>& destination,