1. 09 Feb, 2011 9 commits
  2. 08 Feb, 2011 8 commits
  3. 07 Feb, 2011 3 commits
    • Stephen Morris's avatar
      [trac558] Update message compiler · 2ebf994d
      Stephen Morris authored
      Change of the message compiler to avoid a possible clash of names
      in generated symbols.  Also update documentation.
      2ebf994d
    • Stephen Morris's avatar
      [trac558] Address more initialization points · 2ad85af5
      Stephen Morris authored
      * RootLoggerName now correctly avoids static initialization fiasco.
      * Message header file now references message definition file.
      * Moved message identifiers in logging subsystem into isc::log namespace.
      2ad85af5
    • Stephen Morris's avatar
      [trac558] Address some of initialization points · d588ec8a
      Stephen Morris authored
      * Logger implementation now not created until logger is first used.
      * Messages are now "const char*" to avoid problems if a reference
        to a message is made in a static initialization.
      * Message compiler now recognises $NAMESPACE directive
      d588ec8a
  4. 04 Feb, 2011 4 commits
    • Stephen Morris's avatar
      [trac558] Seond and final stage of backing out log4cxx support · 0afb9dde
      Stephen Morris authored
      Introduced an implementation class that writes its output to stdout.
      It does implement a logger hierarchy, but will be slower at logging
      if setting a logging configuration for anything other than the
      root logger.
      0afb9dde
    • Stephen Morris's avatar
      [trac558] Make header file names consistent · 614ecf7c
      Stephen Morris authored
      The last commit on this branch introduced "logger_levels.h", a
      name without abbreviations.  This change has renamed "dbglevels.h"
      to "debug_levels.h".
      614ecf7c
    • Stephen Morris's avatar
      [trac558] Stage 1 of backing out log4cxx support · f7f03585
      Stephen Morris authored
      The introduction of logging caused problems when building BIND10
      on a number of systems because up to date log4cxx support was not
      available. (It appears that v0.9.8 is the minimum required, and a
      number of distributions only have v0.9.7.)  For this reason, the
      logging is being altered (for the moment) to withdraw log4cxx and
      to write directly to the console.
      
      The best solution seemed to be to split the basic API and the
      implementation and to provide implementations for different logging
      systems. (This was entered as ticket 529, but is being done now.)
      The current commit leaves the logging system still using log4cxx,
      but with the implementation split from the API.
      f7f03585
    • Stephen Morris's avatar
      [trac558] Fix minor platform-dependent issues · 90980c50
      Stephen Morris authored
      Fixes two issues:
      1. src/lib/log/Makefile.am referenced a now-deleted file - this
         caused issues building the logging code on some platforms.
      2. The message compiler used ctime_r(), which causes a problem on
         Solaris, which implements a non POSIX-compliant version (it has
         a third argument).  As the compiler is not multi-threaded, it
         was replaced with a call to ctime().
      90980c50
  5. 03 Feb, 2011 16 commits