Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | Replace all remaining use of TRACEx() macros with logging framework. | Chris Wilson | 2008-03-29 |
| | | | | | Remove the old TRACEx macros to catch any remaining uses. | ||
* | No need to save errno any more. | Chris Wilson | 2008-03-29 |
| | |||
* | Close after logging socket error, so that we don't lose errno. | Chris Wilson | 2008-03-29 |
| | |||
* | Allow configuration of the server port that the client will connect to | Chris Wilson | 2008-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. | ||
* | 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. | ||
* | Reduce log level of message from server child from WARNING to NOTICE, as | Chris Wilson | 2008-03-28 |
| | | | | | it's just the IP and port of the remote side of the connection. | ||
* | 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. | ||
* | Fix compile error. | Chris Wilson | 2008-03-13 |
| | |||
* | Ignore ERR_NO_DATA while writing to control socket on Windows, as it | Chris Wilson | 2008-03-13 |
| | | | | | just means that the Pope is being closed. | ||
* | 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). | ||
* | Workaround for (buggy?) gcc not finding inherited Main method on | Chris Wilson | 2008-03-01 |
| | | | | | Windows. | ||
* | Disable -P option and showing PID in Logging on Windows. | Chris Wilson | 2008-02-22 |
| | |||
* | Improve error messages when loading SSL key files fails. | Chris Wilson | 2008-02-07 |
| | |||
* | Use logging framework for streaming messages. | Chris Wilson | 2008-01-31 |
| | | | | | | | | | Fix double logging of protocol commands on the server side. Log protocol errors at WARNING level. Fix typos in comments and variable names. | ||
* | 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 |
| | |||
* | Report reason why killing a process failed. | Chris Wilson | 2007-12-15 |
| | |||
* | Make ExtendedLogging use the logging framework so that we can view | Chris Wilson | 2007-12-04 |
| | | | | | the logs on the console along with other debug output. | ||
* | Slightly improve output from waiting methods. | Chris Wilson | 2007-12-02 |
| | |||
* | 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. | ||
* | Receiving a connection is not an error. | Chris Wilson | 2007-11-04 |
| | |||
* | Compile fix for MSVC (Gary) (merges [1861]) | Chris Wilson | 2007-10-17 |
| | |||
* | 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]) | ||
* | Make Main(), GetOptionString() and ProcessOption virtual so that they | Chris Wilson | 2007-10-17 |
| | | | | | can actually be overridden. (merges [1852]) | ||
* | Report more useful error messages on connect() failure on Windows. | Chris Wilson | 2007-10-17 |
| | | | | | (merges [1851]) | ||
* | 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]) | ||
* | Added function to set the named pipe name, for use by any test which | Chris Wilson | 2007-10-17 |
| | | | | | calls HUPServer() or SendCommands(). (merges [1836]) | ||
* | Don't disable logging on Win32 console. (merges [1834]) | Chris Wilson | 2007-10-17 |
| | |||
* | Prepend the system-required prefix to the named pipe name from the | Chris Wilson | 2007-10-17 |
| | | | | | configuration file. (merges [1833]) | ||
* | Fix wrong comments, thanks to Nestor Arocha Rodriguez. | Chris Wilson | 2007-10-08 |
| | |||
* | Win32 compile fix (logging framework abuse). (merges [1810]) | Chris Wilson | 2007-09-07 |
| | |||
* | Convert most printf() and fprintf() calls to use logging framework | Chris Wilson | 2007-08-02 |
| | | | | | instead. (refs #3) | ||
* | 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) | ||
* | Log reasons for failure to connect to a socket. | Chris Wilson | 2007-06-28 |
| | |||
* | 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 |
| | |||
* | Don't fork to handle requests when running as a single process (very | Chris Wilson | 2007-04-28 |
| | | | | | useful for debugging). (refs #3) | ||
* | 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) | ||
* | Ignore attempts to listen on a Unix socket on Win32, so that we can share | Chris Wilson | 2007-04-22 |
| | | | | | config files for the unit tests (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) | ||
* | Compile fix, always include Test.h (refs #3) | Chris Wilson | 2007-04-21 |
| |