File tree Expand file tree Collapse file tree 3 files changed +7
-6
lines changed
src/main/java/org/log4mongo Expand file tree Collapse file tree 3 files changed +7
-6
lines changed Original file line number Diff line number Diff line change 2626 * classes must implement append(DBObject) to store the BSON representation of a LoggingEvent.
2727 * <p>
2828 * An example BSON structure for a single log entry is as follows:
29- * <p>
29+ * </ p>
3030 *
3131 * <pre>
3232 * {
7373 * "className" : "NativeMethodAccessorImpl"
7474 * }
7575 * },
76- * ... 8< ...
76+ * ...
7777 * ]
7878 * },
7979 * {
8989 * "className" : "TestMongoDbAppender"
9090 * }
9191 * },
92- * ... 8< ...
92+ * ...
9393 * ]
9494 * }
9595 * ]
Original file line number Diff line number Diff line change @@ -46,10 +46,11 @@ public void initTopLevelProperties() {
4646 }
4747
4848 /**
49- * This will handle spaces and empty values A = minus- & C=equals= & E==F For XML, must escape
50- * (&)
49+ * This will handle spaces and empty values A = minus- @amp; C=equals= @amp; E==F
50+ * For XML, must escape the ampersand.
5151 *
5252 * @param rootLevelProperties
53+ * key=value list of elements to be added to the root level log
5354 */
5455 public void setRootLevelProperties (String rootLevelProperties ) {
5556 for (String keyValue : rootLevelProperties .split (" *& *" )) {
Original file line number Diff line number Diff line change @@ -186,7 +186,7 @@ public void setHostname(final String hostname) {
186186 }
187187
188188 /**
189- * @return The port of the MongoDB server <i>(will be > 0)</i>.
189+ * @return The port of the MongoDB server <i>(will be greater than 0)</i>.
190190 */
191191 public String getPort () {
192192 return port ;
You can’t perform that action at this time.
0 commit comments