Commit Graph

10 Commits

Author SHA1 Message Date
Mark Benvenuto
6dcdd23dd3 SERVER-23971 Clang-Format code 2016-05-28 17:55:12 -04:00
Mike Grundy
1be713cebb SERVER-23067 Final round of JS linting and formatting 2016-03-18 17:10:31 -04:00
Jonathan Abrahams
4ae691e8ed SERVER-22468 Format JS code with approved style in jstests/ 2016-03-09 12:18:14 -05:00
Spencer T Brody
49fd6dbb2b SERVER-11555 Replace all occurrences of addUser with createUser in jstests 2013-11-06 17:11:39 -05:00
Spencer T Brody
f0c6cebd73 SERVER-10794 Maintain backwards-compatible form of addUser for one more release 2013-10-11 18:14:12 -04:00
Andy Schwerin
ea22c31735 SERVER-10084 New logging implementation.
This change-set:

* Introduces a new top-level directory, mongo/logger, containing most of the implementation of logging functionality formerly found in log.cpp/log.h.

* Cleans up existing, unusual uses of the logging system that were not trivially compatible with the new implementation.

* Replaces Logstream/Nulstream with a LogstreamBuilder object, whose destructor writes log messages.  This new LogstreamBuilder is reentrant, unlike the old logging code, which was thread-safe but not reentrant.  Additionally, std::endl is no longer required to terminate a log line.  When a LogstreamBuilder goes out of scope, the log message gets committed.

* Separates the log system into several components: a global LogManager, several LogDomains, various kinds of Appenders (e.g., SyslogAppender) and Encoders (for formatting messages).

* Allows unit tests to capture and examine log output.

This patch does _not_ introduce support for hierarchical log domains, or for enabling and disabling specific log domains when the server is running in a multi-threaded mode.  This is future work.
2013-07-09 16:43:33 -04:00
Randolph Tan
1b4f6081c0 SERVER-8217 Write test for id logging
Make tests allocate port dynamically
2013-02-19 17:33:09 -05:00
Tad Marshall
7af32893c8 SERVER-8217 Better fix for regex 2013-02-15 08:32:48 -05:00
Tad Marshall
96b3a6112d SERVER-8217 Fix regex for timestamp 2013-02-15 08:15:40 -05:00
Randolph Tan
c0d6c3d205 SERVER-8217 Write test for id logging 2013-02-14 16:43:14 -05:00