summaryrefslogtreecommitdiff
path: root/lib/server/Daemon.h
Commit message (Collapse)AuthorAge
* Fix exception in bbackupd when no LogFile is configured.Chris Wilson2014-11-23
|
* Add option to truncate log file at start of every backup.Chris Wilson2014-11-16
| | | | Prevents backup log files from becoming too large.
* Refactor logging option processing out of Daemon class.Chris Wilson2014-04-09
| | | | Allows command-line tools to reuse the same option processing.
* Split option processing out of Daemon::Main() to ease use of Daemon class in ↵Chris Wilson2012-01-22
| | | | tests.
* Add log file logging to all daemons.Chris Wilson2010-11-17
|
* Replace BOX_FILE_BBACKUPD_DEFAULT_CONFIG with Chris Wilson2010-06-06
| | | | | BOX_GET_DEFAULT_BBACKUPD_CONFIG_FILE.
* Add ability to specify a named log facility for syslog loggins, Chris Wilson2009-03-24
| | | | | requested by Kenny Millington.
* Fix compile errors on Debian Lenny, reported by Torsten.Chris Wilson2008-10-17
|
* Only set spDaemon in Daemon::Main, to allow Boxi to have a BackupDaemon Chris Wilson2008-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.
* Allow externally controllic whether a daemon will run in the foregroundChris Wilson2008-08-07
| | | | | or not, will need this for running tests with internal bbstored.
* Move loading configuration into a separate method.Chris Wilson2008-05-28
| | | | | Add -W<level> option to set warning level explicitly.
* Undo mangling by tailorChris Wilson2008-04-04
|
* TailorizationChris Wilson2008-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
* Allow configuration of the server port that the client will connect to Chris Wilson2008-03-28
| | | | | | | | | | | | | (bbackupd and bbackupquery). Redesign ConfigurationVerify to use classes instead of structs. Use port 22011 instead of 2201 during tests, to reduce the chances of conflicting with a running bbstored or other process. Ignore autogen_* in svn:ignore everywhere instead of individual per-file ignores.
* Workaround for (buggy?) gcc not finding inherited Main method on Chris Wilson2008-03-01
| | | | | Windows.
* Add "-h" and "/?" options to display usage in Daemon.Chris Wilson2007-10-17
| | | | | | | | | Extend usage info with service commands in BackupDaemon. Disable useless -D, -V and -k options on Windows. (merges 1855])
* Make Main(), GetOptionString() and ProcessOption virtual so that theyChris Wilson2007-10-17
| | | | | can actually be overridden. (merges [1852])
* Refactor out command-line option processing, so that it can be extendedChris Wilson2007-10-17
| | | | | by subclasses. (merges [1849])
* Add a new -F option for daemons, which runs in the foreground but stillChris Wilson2007-06-28
| | | | | accepts multiple connections, unlike -D or SINGLEPROCESS.
* Remove comments accidentally left in [1591]. (refs #3)Chris Wilson2007-04-28
|
* Make Daemon remember whether we're supposed to run in a single process,Chris Wilson2007-04-28
| | | | | or not. (refs #3)
* Add -V option, which sets maximum verbosity in one go.Chris Wilson2007-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)
* Add option parsing with getopt()Chris Wilson2007-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)
* Merge chris/bb-save-state, resolving conflictsBen Summers2006-01-30
|
* Fixing up svn:executable properties.Martin Ebourne2005-12-12
| | | | You may need a new checkout to see this.
* Box Backup 0.09 with a few tweeksBen Summers2005-10-14