0
0
mirror of https://github.com/mongodb/mongo.git synced 2024-12-01 09:32:32 +01:00
Commit Graph

63 Commits

Author SHA1 Message Date
Dwight Merriman
0c7e5438e0 get rid of macros in log.h 2010-04-24 14:03:14 -04:00
Mathias Stearn
0638bbfee2 replace pragmas push_macro and pop_macro SERVER-1042 2010-04-23 20:14:37 -04:00
Mathias Stearn
1d746cc4ca cleanup namespace pollution SERVER-1042 2010-04-23 14:26:26 -04:00
Aaron
c971842a55 Revert "Revert "SERVER-695 don't destroy static global mutexes""
This reverts commit eb7cde3e75.

Conflicts:

	db/instance.h
2010-03-15 09:42:01 -07:00
Eliot Horowitz
f7901fdc2c better errno reporting 2010-02-04 10:59:13 -05:00
Eliot Horowitz
4008f94cfc darwin compile MINOR 2010-01-28 14:58:23 -05:00
Eliot Horowitz
8f1e01b0e4 macro for errno so messages are consistent and have full debugging 2009-12-21 10:06:14 -05:00
Mathias Stearn
d27c8505ea all client files now marked as Apache 2.0. SERVER-329. 2009-10-27 15:59:37 -04:00
Eliot Horowitz
52333b5e73 cute hack so log() works before startup is finished 2009-10-21 16:40:31 -04:00
metagoto
14cd7183e6 quick fix for global namespace pollution (mostly client) 2009-10-18 09:39:08 +08:00
Eliot Horowitz
d8235205f5 log rotation with USR1 signal SERVER-358 2009-10-16 12:46:06 -04:00
Eliot Horowitz
166c722630 make logpath use FILE/fopen instead of open - should work on windows SERVER-339 2009-10-16 10:56:15 -04:00
Dwight
2d934d1006 move curNs to Client object 2009-10-13 16:01:02 -04:00
Dwight
6bbaf0fdc3 better unit tests for unique indexes and dropDup : true on indexing 2009-09-21 16:31:00 -04:00
dwight
b8d458bfec improve how we handle concurrency with logging 2009-09-03 15:16:04 -04:00
dwight
e58c6eaf7f Merge branch 'master' of git@github.com:mongodb/mongo
Conflicts:
	util/log.h
2009-09-03 15:01:42 -04:00
dwight
93f07dbc7d interim ocmmit of new logging stuff 2009-09-03 14:58:05 -04:00
Eliot Horowitz
cf46ccabe4 fix logstream and shared_ptr 2009-09-03 13:37:20 -04:00
dwight
2470913c70 change to NullStream 2009-09-03 13:11:30 -04:00
Dwight
879e7b153e more CmdLine object 2009-08-25 14:35:22 -04:00
Eliot Horowitz
3c651482c4 shared_ptr support for log() 2009-08-17 10:46:19 -04:00
Eliot Horowitz
79be4b64a3 clean up dbexit with an ExitCode enum SERVER-183 2009-08-05 16:00:27 -04:00
Eliot Horowitz
905f018510 Merge commit 'alanw/master'
Conflicts:

	db/db.cpp
	msvc/server_only/server_only.vcproj
	stdafx.cpp
	util/log.h
2009-06-08 14:15:15 -04:00
Eliot Horowitz
5514c49e39 make lognoquiet and make --quit not print connect/disconnect 2009-06-05 10:35:04 -04:00
alanw
3224ad222a Moved implementation code from stdafx to correct pre-compiled headers 2009-06-04 12:25:58 +01:00
Aaron
6a2a8d385f comments MINOR 2009-05-28 15:22:24 -04:00
Aaron
80502a3fdb never destroy log or background job mutexes, as they generated assertions on destruction in testing 2009-05-21 18:20:07 -04:00
Aaron
e6980f2e83 Call val() without log mutex 2009-03-02 13:18:47 -05:00
Aaron
4c491e5b9e Handle const pointers correctly 2009-02-23 11:16:33 -05:00
Aaron
4311f257ef Better LazyString 2009-02-23 11:11:00 -05:00
Aaron
3c33cbe8e7 Maybe more efficient 2009-02-20 15:56:24 -05:00
eliot
c9556de9ab windows compile 2009-02-20 15:23:14 -05:00
Aaron
6f25a72ec3 'better' LazyString 2009-02-20 10:48:32 -05:00
Aaron
9d8876a09b LazyString() takes const reference 2009-02-19 14:14:34 -05:00
Aaron
4fca3ad77a Make assertions stringable 2009-02-19 12:43:46 -05:00
Aaron
6df7d02ce8 Don't create string unless we're actually going to log 2009-02-19 12:03:15 -05:00
Aaron
b1d9032447 Get rid of stringable class, use implicit type conversion to string instead 2009-02-18 22:17:30 -05:00
Aaron
593bf1f126 virtual dtors == good 2009-02-18 13:42:32 -05:00
dwight
90f39126fc log more on commands 2009-02-18 09:45:49 -05:00
Aaron
6224cd9f29 Add initial perf tests 2009-02-11 13:17:52 -05:00
Dwight
3366714892 better error msgs
--sysinfo
2009-01-29 16:06:22 -05:00
Aaron
da79a09df9 Don't print chars as ints 2009-01-20 17:21:47 -05:00
Eliot Horowitz
3e7985c5d6 changed verbose to logLevel and added log(int) 2009-01-20 14:30:59 -05:00
Aaron
261a467aa5 Replaced our #defined cout with mongo::out() 2009-01-15 11:26:38 -05:00
Aaron
90d45238aa Indent all lines within namespaces one level 2009-01-15 10:17:11 -05:00
Eliot Horowitz
938c2c07a8 some cleaning so that client doesn't have to link against java and pcre 2009-01-15 10:08:20 -05:00
Aaron
248a6dd8de Replace tab indentation with spaces 2009-01-14 17:17:24 -05:00
Aaron
ad1f6b3cbd Put our code in 'mongo' namespace 2009-01-14 17:09:51 -05:00
Dwight
6e9a533d67 more threadsafe 2009-01-06 18:57:01 -05:00
Dwight
1cc123561a try not to die in segv printouts with deadlocks and such 2009-01-06 18:25:38 -05:00