Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | Hopefully fix compile error reported by Mirko on cross-compiler. | Chris Wilson | 2009-03-29 |
| | |||
* | Add ability to specify a named log facility for syslog loggins, | Chris Wilson | 2009-03-24 |
| | | | | | requested by Kenny Millington. | ||
* | Fix tests (hopefully) on Win32 for struct stat ino_t change from 16 to | Chris Wilson | 2009-03-21 |
| | | | | | 64 bits. | ||
* | Rename NDEBUG flag to BOX_RELEASE_BUILD, as other projects use NDEBUG as | Chris Wilson | 2008-12-30 |
| | | | | | | well (e.g. wxWidgets) and it causes conflicts which are difficult to resolve. | ||
* | Remove -K option which now does nothing on Windows. | Chris Wilson | 2008-10-03 |
| | | | | | Add -Q option which disables all logging instead. | ||
* | Set console and syslog logging levels rather than global logging level, | Chris Wilson | 2008-09-26 |
| | | | | | as we may want to do something different when logging to a file. | ||
* | Unify program name and console logging tags. | Chris Wilson | 2008-09-13 |
| | | | | | | Add a new class, Logging::Tagger, which can be used to temporarily add information to the program name, such as the client ID in bbstored. | ||
* | Only set spDaemon in Daemon::Main, to allow Boxi to have a BackupDaemon | Chris Wilson | 2008-08-21 |
| | | | | | | | | | | | | and a BackupStoreDaemon in the same process in separate threads. Separate out Configure(filename) and Configure(Configuration) for Boxi. Use a std::auto_ptr to hold the Configuration so that we don't have to worry about releasing it ourselves. Remove some #ifdef WIN32. | ||
* | Really enable PID logging on Windows. | Chris Wilson | 2008-08-03 |
| | |||
* | Enable logging of PID on Windows. | Chris Wilson | 2008-08-03 |
| | | | | | Enable both -k and -K options on all platforms. | ||
* | Move loading configuration into a separate method. | Chris Wilson | 2008-05-28 |
| | | | | | Add -W<level> option to set warning level explicitly. | ||
* | Command-line option fix from [1975] | Chris Wilson | 2008-04-05 |
| | |||
* | Undo mangling by tailor | Chris Wilson | 2008-04-04 |
| | |||
* | Tailorization | Chris Wilson | 2008-04-04 |
| | | | | | | | | | | | Import of the upstream sources from Repository: http://localhost:8000/ Kind: hg Revision: 7807b7768163f1c2537756abe5416063989cebb1 Original author: tailor@rocio.int.aidworld.org Date: 2008-03-16 19:44:36+00:00 | ||
* | Improve logging with macros that consistently output strerror(errno) and | Chris Wilson | 2008-03-28 |
| | | | | | | | | | | | | | | | errno, replacing almost all use of strerror() in the main code. Log a more detailed error message before throwing an exception for some more system call failures. Make FileStream store its filename on all platforms, not just Windows. Wrap some long lines at less than 80 characters to improve readability. Fix some minor violations of coding standard (white space) and a typo in a comment. | ||
* | Add the -K option to Daemons on Windows to keep them quiet even though | Chris Wilson | 2008-03-13 |
| | | | | | | | | they don't fork by themselves. This is because the tests are able to run them in the background, and if they keep the console open then they will continue to spew to it. This option is normally only useful when running the daemon in a test. | ||
* | Only log daemon banner to syslog, not to console, as this is probably | Chris Wilson | 2008-03-01 |
| | | | | | | what users expect (and they have no way to control verbosity on the console this early). | ||
* | Disable -P option and showing PID in Logging on Windows. | Chris Wilson | 2008-02-22 |
| | |||
* | Add support for microsecond timestamps and PID logging on console log | Chris Wilson | 2008-01-31 |
| | | | | | for daemons. | ||
* | Print the path of the current/default configuration file in usage. | Chris Wilson | 2008-01-05 |
| | |||
* | Fix getopt reset for solaris and maybe other platforms. See | Chris Wilson | 2007-11-07 |
| | | | | | http://lists.debian.org/debian-glibc/2004/10/msg00070.html. | ||
* | Add "-h" and "/?" options to display usage in Daemon. | Chris Wilson | 2007-10-17 |
| | | | | | | | | | Extend usage info with service commands in BackupDaemon. Disable useless -D, -V and -k options on Windows. (merges 1855]) | ||
* | Compile fix. (merges [1850]) | Chris Wilson | 2007-10-17 |
| | |||
* | Refactor out command-line option processing, so that it can be extended | Chris Wilson | 2007-10-17 |
| | | | | | by subclasses. (merges [1849]) | ||
* | Don't disable logging on Win32 console. (merges [1834]) | Chris Wilson | 2007-10-17 |
| | |||
* | Replace almost all calls to syslog() with logging framework. (refs #3) | Chris Wilson | 2007-07-31 |
| | |||
* | Use a signed int instead of char for getopt, thanks Martin. (refs #3) | Chris Wilson | 2007-07-05 |
| | |||
* | Make char signed to fix getopt usage on ARM and PowerPC, thanks to TBP and | Chris Wilson | 2007-07-04 |
| | | | | | | Reinhard Tartler (refs #3, see http://lists.warhead.org.uk/pipermail/boxbackup/2007-July/003614.html) | ||
* | More debugging. | Chris Wilson | 2007-07-03 |
| | |||
* | Hopefully work around buggy getopt implementation noted by TBP in | Chris Wilson | 2007-07-03 |
| | | | | | | http://lists.warhead.org.uk/pipermail/boxbackup/2007-July/003614.html (refs #3) | ||
* | Add extra debugging to help find out why getopt is behaving weirdly | Chris Wilson | 2007-06-30 |
| | | | | | | on debian etch (http://lists.warhead.org.uk/pipermail/boxbackup/2007-June/003603.html) | ||
* | Add a new -F option for daemons, which runs in the foreground but still | Chris Wilson | 2007-06-28 |
| | | | | | accepts multiple connections, unlike -D or SINGLEPROCESS. | ||
* | Get it right this time. | Chris Wilson | 2007-06-04 |
| | |||
* | Hopefully reset getopt in a way that's compatible with BSD and GLIBC, | Chris Wilson | 2007-06-04 |
| | | | | | thanks to Tobias Balle-Petersen for pointing out this bug. | ||
* | Initialise mSingleProcess flag to false (oops!) (refs #3) | Chris Wilson | 2007-04-29 |
| | |||
* | Remove comments accidentally left in [1591]. (refs #3) | Chris Wilson | 2007-04-28 |
| | |||
* | Make Daemon remember whether we're supposed to run in a single process, | Chris Wilson | 2007-04-28 |
| | | | | | or not. (refs #3) | ||
* | Add -V option, which sets maximum verbosity in one go. | Chris Wilson | 2007-04-22 |
| | | | | | | | | | | | Add -T option, which adds timestamps to console logs. Add -t option, which enabled and sets the tag used on console logs. Add -k option, which keeps console open after forking. (refs #3) | ||
* | Reduce default logging level in debug builds from TRACE back down to INFO, | Chris Wilson | 2007-03-24 |
| | | | | | to reduce noise in tests. (refs #3, merges [1441]) | ||
* | Log at trace level by default in debug builds (refs #3) | Chris Wilson | 2007-03-22 |
| | |||
* | Compile fix for RHEL4 ([NICK]) (refs #3) | Chris Wilson | 2007-01-16 |
| | |||
* | Add option parsing with getopt() | Chris Wilson | 2007-01-15 |
| | | | | | | | | | | | Add "-D" flag as SINGLEPROCESS equivalent Add "-q" and "-v" options to control master logging level Log fatal errors as FATAL rather than ERROR Log daemon start and stop as NOTICE rather than INFO (refs #3) | ||
* | Spacing (refs #3) | Chris Wilson | 2007-01-14 |
| | |||
* | Convert Daemon class to new logging framework (refs #3) | Chris Wilson | 2007-01-12 |
| | |||
* | * Allow Daemons to be created more than once per process | Chris Wilson | 2006-11-26 |
| | | | | | | | * Don't initialise signal handler until after fork, in case the parent is actually a unit test or another complex application * Don't exit(0) in the parent, for the same reason (refs #9) | ||
* | (refs #3) | Chris Wilson | 2006-08-31 |
| | | | | | | | Initialise Windows sockets automatically for all daemons on Win32 Write PID files on Win32 | ||
* | Revert to trunk | Chris Wilson | 2006-08-31 |
| | |||
* | * merge | Chris Wilson | 2006-07-27 |
| | | | | | | | - This is my current patch queue. I think that all of these are safe to apply. This is just under half of the pending changes in chris/general (the easy half). | ||
* | Merge chris/win32/vc2005-compile-fixes @ r455, add infrastructure/msvc to ↵ | Ben Summers | 2006-02-13 |
| | | | | distribution | ||
* | Merge chris/bb-save-state, resolving conflicts | Ben Summers | 2006-01-30 |
| |