You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: mongodb/README.md
+8-1
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,5 @@
1
1
<!--
2
-
Copyright (c) 2012 - 2015 YCSB contributors. All rights reserved.
2
+
Copyright (c) 2012 - 2016 YCSB contributors. All rights reserved.
3
3
4
4
Licensed under the Apache License, Version 2.0 (the "License"); you
5
5
may not use this file except in compliance with the License. You
@@ -92,6 +92,13 @@ Then, run the workload:
92
92
93
93
See the next section for the list of configuration parameters for MongoDB.
94
94
95
+
## Log Level Control
96
+
Due to the mongodb driver defaulting to a log level of DEBUG, a logback.xml file is included with this module that restricts the org.mongodb logging to WARN. You can control this by overriding the logback.xml and defining it in your ycsb command by adding this flag:
97
+
98
+
```
99
+
bin/ycsb run mongodb -jvm-args="-Dlogback.configurationFile=/path/to/logback.xml"
0 commit comments