Tad Marshall
b1684bb3df
SERVER-2612 -- support logRotate under windows
...
Add code to support the "logRotate" server command (e.g. "db.runCommand({logRotate:1})").
Windows does not support the "kill -SIGUSR1 <pid>" alternative that is available in
Linux.
2011-11-23 15:14:39 -05:00
Jon Hoffman
d28b110071
syslog support
2011-10-27 15:05:36 -04:00
Mathias Stearn
5f954259f7
use fadvise(dontneed) for log file SERVER-3380
2011-09-12 18:08:27 -04:00
Mathias Stearn
625f827205
fix stderr redirect for windows SERVER-3171
2011-06-16 21:11:32 -04:00
Mathias Stearn
31f5fa3475
redirect stderr to log file SERVER-3171
2011-06-16 17:21:56 -04:00
dwight
b1b247e271
compile?
2011-04-18 18:56:02 -04:00
dwight
4f969e112a
trap segfaults and such and try to log them on windows
...
we also try to write a note to the windows event viewer
2011-04-18 18:44:38 -04:00
Mathias Stearn
450cc4282a
Make it clearer when new server starts in logAppend mode
2011-04-14 16:59:33 -04:00
Eliot Horowitz
b828d21630
ran astyle SERVER-2304
2011-01-04 00:40:41 -05:00
dwight
4f1b0c3f85
header was included but doesnt seem to be used
2010-11-06 15:50:35 -04:00
Mathias Stearn
c1cc61f19b
Better error if logpath is a directory SERVER-1733
2010-09-07 12:46:49 -04:00
Mathias Stearn
8567338619
Replace stdout with logfile SERVER-1727
2010-09-03 15:10:06 -04:00
Mathias Stearn
8c8070a6fc
don't put ':' in filenames (not legal on windows)
2010-08-02 18:08:37 -04:00
Mathias Stearn
c546c6e512
terseCurrentTime now uses ISO date format and always includes seconds. SERVER-1547
2010-08-02 18:08:37 -04:00
Eliot Horowitz
9cc9c1d2a0
fix relative logpath args and test logpath before forking SERVER-1532
2010-08-02 09:25:20 -04:00
Eliot Horowitz
1965d3b3a9
safe shutdown
2010-07-28 13:29:17 -04:00
Eliot Horowitz
2cad9807fd
tm_mon is 0 based
2010-07-25 02:41:05 -04:00
Eliot Horowitz
357cb2918e
move logging cpp code into log.cpp
2010-07-24 12:40:07 -04:00