Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | SERVER-13264 Move Apache-licensed files to AGPL | Ian Whalen | 2014-05-16 | 33 | -297/+693 |
| | | | | Also update generators. | ||||
* | SERVER-9358 Prevent logRotate twice in the same second from losing log data | Spencer T Brody | 2014-04-11 | 1 | -0/+14 |
| | |||||
* | SERVER-5553 Remove a heap allocation from the log event encoder. | Andy Schwerin | 2014-04-03 | 2 | -4/+5 |
| | | | | | | The goal is to eventually have a logging path that is truly safe to use in a signal handler. This patch advances the cause by removing the heap allocation caused by returning a string in the date formatters. | ||||
* | SERVER-3364 Label rest of client api with MONGO_CLIENT_API | Ranjay Krishna | 2013-12-28 | 2 | -2/+4 |
| | | | | | | build all the sharedclient programs using the new macro MONGO_CLIENT_API in mongo/client/export_macros.h Signed-off-by: Matt Kangas <matt.kangas@mongodb.com> | ||||
* | SERVER-11028 new abortOnFailure property of log domains | Eric Milkie | 2013-11-25 | 2 | -8/+30 |
| | |||||
* | SERVER-11658 Consistently use Library target | Andrew Morrow | 2013-11-18 | 1 | -15/+15 |
| | |||||
* | SERVER-10390 direct console output to WriteConsoleW instead of std::cout ↵ | Benety Goh | 2013-11-06 | 4 | -3/+273 |
| | | | | under Windows | ||||
* | SERVER-10885 Create new Console class to redirect tool logging to stderr ↵ | Shaun Verch | 2013-10-11 | 1 | -2/+2 |
| | | | | instead of stdout | ||||
* | SERVER-10606 fix labeled level to correctly output space after label | Greg Studer | 2013-08-26 | 1 | -0/+1 |
| | |||||
* | SERVER-7965 Change default date format in logs to iso8601-local. | Andy Schwerin | 2013-08-19 | 1 | -1/+1 |
| | |||||
* | SERVER-8684 make codebase compatible with boost 1.5 and newer | matt dannenberg | 2013-08-07 | 1 | -0/+5 |
| | |||||
* | SERVER-7965 Make the timestamp format settable in servers. | Andy Schwerin | 2013-07-26 | 2 | -1/+31 |
| | | | | | | | | | | | | | From the command line or config file, --logTimestampFormat=(ctime|iso8601-utc|iso8601-local). The beginning of the Unix Epoch is formatted as follows in the three formats, assuming America/New_York for the time zone. ctime: Wed Dec 31 19:00:00.000 iso8601-utc: 1970-01-01T00:00:00.000Z iso8601-local: 1969-12-31T19:00:00.000+0500 The default remains the same as in prior versions, "ctime". | ||||
* | SERVER-7965 Move date/time types and functions from bson/util/misc.h to ↵ | Andy Schwerin | 2013-07-24 | 2 | -5/+6 |
| | | | | util/time_support.{h,cpp}. | ||||
* | SERVER-7965 Construct MessageEventEphemeral with a time stamp; use that when ↵ | Andy Schwerin | 2013-07-24 | 4 | -7/+18 |
| | | | | printing log messages. | ||||
* | SERVER-7965 Introduce time formatting functions for ISO 8601 and Ctime; ↵ | Andy Schwerin | 2013-07-24 | 1 | -3/+1 |
| | | | | eliminate curTimeString(). | ||||
* | SERVER-10314 Make logger format RamLog lines like console log lines. | Andy Schwerin | 2013-07-24 | 1 | -3/+9 |
| | |||||
* | SERVER-10316 Account for milliseconds component of date in RamLog::repeats. | Andy Schwerin | 2013-07-24 | 1 | -3/+3 |
| | |||||
* | SERVER-10172 Refactor RamLog to make it thread-safe. | Andy Schwerin | 2013-07-12 | 2 | -50/+163 |
| | | | | Also prevent accidental creation of duplicate ramlogs of the same name. | ||||
* | SERVER-10084 Make LogstreamBuilder safe to use during static init; fix ↵ | Andrew Schwerin | 2013-07-10 | 1 | -8/+24 |
| | | | | | | memory leak. Fixes mongo/logger/log_test unit test on OS X. | ||||
* | SERVER-10084 New logging implementation. | Andy Schwerin | 2013-07-09 | 33 | -5/+2219 |
| | | | | | | | | | | | | | | | | 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. | ||||
* | SERVER-10074 Clean up before and after rotatable_file_writer_test execution. | Andy Schwerin | 2013-07-03 | 1 | -1/+19 |
| | |||||
* | Fix unit test to handle explicit operator bool in C++11 mode | Andrew Morrow | 2013-07-03 | 1 | -6/+6 |
| | |||||
* | SERVER-10088 SERVER-10074 Add forgotten copyright message to ↵ | Andy Schwerin | 2013-07-03 | 1 | -0/+15 |
| | | | | rotatable_file_writer_test.cpp. | ||||
* | SERVER-10074 RotatableFileWriter type, introduce logger module. | Andy Schwerin | 2013-07-03 | 4 | -0/+494 |