Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | Update platform feature detection to work with CMake. | Chris Wilson | 2016-09-03 |
| | | | | | | | Rewrite some macros in forms that can be parsed by our parser written in CMake language (fake m4 with regexps). Fix incorrect conditional includes and incorrect #if/#ifdef assumptions. | ||
* | Add usage example for -L option, showing how module names were compiled in | Chris Wilson | 2015-06-10 |
| | |||
* | Add command-line option to limit log messages to certain file(s). | Chris Wilson | 2015-05-04 |
| | | | | | E.g. you can run with -L NamedLock.cpp to only show messages logged in that file. You can also repeat it to only show messages from certain files. | ||
* | Reduce test output noise by hiding some error messages in tests. | Chris Wilson | 2015-02-25 |
| | | | | | Should make the Travis logs shorter and more readable. | ||
* | Don't redirect logging to stderr any more. | Chris Wilson | 2015-01-04 |
| | | | | | | We have more fine-grained control over logging now, including ability to log to a file in bbackupquery and all daemons, and users can't redirect stderr on Windows. https://www.boxbackup.org/ticket/50 | ||
* | Add option to truncate log file at start of every backup. | Chris Wilson | 2014-11-16 |
| | | | | Prevents backup log files from becoming too large. | ||
* | Refactor logging option processing out of Daemon class. | Chris Wilson | 2014-04-09 |
| | | | | Allows command-line tools to reuse the same option processing. | ||
* | Remove the global logging level. | Chris Wilson | 2014-04-09 |
| | | | | | It's incompatible with having a logger that logs everything, regardless of the global log level. | ||
* | Close syslog before checking for files left open in tests. | Chris Wilson | 2014-02-07 |
| | | | | Otherwise we might detect the opened syslog socket as a leaked file descriptor. | ||
* | Allow getting the standard Console and Syslog loggers. Add a Guard class | Chris Wilson | 2012-11-27 |
| | | | | | that can be used to protect against permanent changes to their log levels. | ||
* | Allow hiding specific exceptions to keep test output cleaner. | Chris Wilson | 2012-04-28 |
| | |||
* | Allow overriding Logging::Guard to dump stack backtraces as well. | Chris Wilson | 2012-01-23 |
| | |||
* | Fix illegal use of Logging::Add and Logging::Remove while iterating over loggers | Chris Wilson | 2011-10-11 |
| | |||
* | Log failure to convert log string to console encoding on Windows. | Chris Wilson | 2011-08-27 |
| | |||
* | Fix line endings. | Chris Wilson | 2011-05-24 |
| | |||
* | Include <process.h> to get a definition for getpid() from the Windows CRT, | Chris Wilson | 2011-04-20 |
| | | | | | to replace the emulated one in emu.cpp. | ||
* | Avoid fatal error caused by recursive logging if we fail to open the | Chris Wilson | 2010-11-17 |
| | | | | | file we're supposed to log to. | ||
* | Log more detailed info about backup comparison failures, for debugging. | Chris Wilson | 2010-02-10 |
| | | | | | | Enable -V option in bbackupquery, and document that -q, -v, -V and -W<level> are allowed in the command-line help. | ||
* | Add a static variable to store the exceptions suppressed flag. | Chris Wilson | 2009-07-05 |
| | |||
* | gcc 4.3 and 4.4 compile fixes, thanks to Reinhard Tartler and the Debian | Chris Wilson | 2009-04-03 |
| | | | | | | | | project. See also: http://patch-tracking.debian.net/package/boxbackup/0.11~rc2+r2072-1 http://lists.warhead.org.uk/pipermail/boxbackup/2009-April/005159.html | ||
* | Add date to file logger, as requested by Kenny Millington. | 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. | ||
* | Switch to C++ include file names. | Chris Wilson | 2009-03-24 |
| | |||
* | Add file logger class. | Chris Wilson | 2008-09-26 |
| | |||
* | 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. | ||
* | Convert console logging output to console encoding on Windows. | Chris Wilson | 2008-08-09 |
| | |||
* | Remove Windows limitation on Logging that showing PID was not possible. | Chris Wilson | 2008-08-03 |
| | |||
* | Use the new time function when generating console log messages. | Chris Wilson | 2008-07-27 |
| | |||
* | Fix includes to get getpid() on Solaris and to make them easier to read. | Chris Wilson | 2008-07-06 |
| | |||
* | Compile fix for strerror() on RedHat 9, thanks to Alex Howansky. | Chris Wilson | 2008-06-30 |
| | |||
* | Add static Logging::GetNamedLevel() method to return a log level | Chris Wilson | 2008-05-28 |
| | | | | | specified by name as a string. | ||
* | Add support for logging just to syslog (not console) at a given | Chris Wilson | 2008-03-01 |
| | | | | | priority. | ||
* | 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. | ||
* | Allow logging with microsecond timestamps. | Chris Wilson | 2007-12-15 |
| | |||
* | Convert most printf() and fprintf() calls to use logging framework | Chris Wilson | 2007-08-02 |
| | | | | | instead. (refs #3) | ||
* | Add missing #include <errno.h>, thanks to Matt Brown (refs #3) | Chris Wilson | 2007-05-02 |
| | |||
* | Keep a copy of the program name, in case the original goes away, which | Chris Wilson | 2007-04-28 |
| | | | | | causes syslog() to write nonsense for the program name. (refs #3) | ||
* | Compile fix for Win32, where no localtime_r is available and localtime | Chris Wilson | 2007-04-22 |
| | | | | | is thread safe. (refs #3) | ||
* | Add options to log timestamps, and a custom tag, with each message to | Chris Wilson | 2007-04-22 |
| | | | | | | | | | the console, e.g.: 14:53:17 [bbackupd] Finished scan of local files (refs #3) | ||
* | Automatically initialise logging at startup, with a static object, to log | Chris Wilson | 2007-01-16 |
| | | | | | | | | to console and syslog. All logging objects automatically register themselves with the global logging system. (refs #3) | ||
* | Add a new logging level, NOTICE, between INFO and WARNING (justification: | Chris Wilson | 2007-01-15 |
| | | | | | | | | | | we need two levels of output for LogAllFileAccess, neither of which are warnings, one is very verbose, but must not be compiled out like TRACE). Make Loggers default to logging everything. Make the global log level filter work. (refs #3) | ||
* | Cosmetic spacing fixes (refs #3) | Chris Wilson | 2007-01-12 |
| | |||
* | * Rename Loggers class to Logging, which looks nicer. | Chris Wilson | 2006-12-16 |
| | | | | | | | | | | * Fix type of "line" argument to loggers to int rather than std::string to match __LINE__ * Define necessary static objects * Remove global condition on logging for now (refs #3) | ||
* | Initial implementation of the logging framework. | Chris Wilson | 2006-12-16 |