1. 31 Aug, 2016 1 commit
  2. 30 Aug, 2016 1 commit
  3. 17 Feb, 2016 1 commit
  4. 03 Feb, 2016 1 commit
  5. 14 Jan, 2016 1 commit
  6. 18 Aug, 2015 1 commit
  7. 16 Jul, 2015 2 commits
  8. 15 Jul, 2015 2 commits
  9. 18 Mar, 2015 1 commit
  10. 03 Jul, 2014 2 commits
  11. 26 May, 2014 1 commit
    • Steven Murray's avatar
      Moved runAsStagerSuperuser to daemonizeIfNotRunInForeground() · b2b09a37
      Steven Murray authored
      Before this commit the boolean member Daemon::m_runAsStagerSuperuser was
      being set by calling Daemon::runAsStagerSuperuser() and was used by
      calling Daemon::daemonizeIfNotRunInForeground().  There was no benefit
      gain from this two step approach.  I have therefore effectively moved
      the member variable Daemon::m_runAsStagerSuperuser to be a parameter to
      daemonizeIfNotRunInForeground().
      b2b09a37
  12. 15 May, 2014 1 commit
  13. 14 May, 2014 1 commit
  14. 20 Feb, 2014 1 commit
  15. 18 Feb, 2014 2 commits
  16. 17 Feb, 2014 2 commits
  17. 15 Feb, 2014 1 commit
    • Steven Murray's avatar
      I have made m_foreground and m_commandLineHasBeenParsed private member variables · 1a8d0371
      Steven Murray authored
      of the following class:
      
          castor::server::Daemon
      
      Subclasses now have a more explicit API for parsing the command-line.  They
      can delegate the task to the above Daemon class or they can implement there own
      parsing logic.  In the latter case the subclass must call the following
      Daemon method:
      
          castor::server::Daemon::setCommandLineParsed(bool foreground);
      
      This method makes it clear what the Daemon class needs to know from a parse of
      the command-line.  If a client subclass calls the getForeground() method of the
      Daemon class before callng setCommandLineParsed() then a CommandLineNotParsed
      exception shall be raised.
      1a8d0371
  18. 14 Feb, 2014 2 commits
  19. 10 Jan, 2014 2 commits
  20. 19 Dec, 2013 3 commits
    • Steven Murray's avatar
      First complete but not full tested merge of the new logging API into the · 2d21f53b
      Steven Murray authored
      CASTOR framework via the class castor::server:BaseServer.
      
      Constructive feedback, and better still modifications, are warmly welcomed.
      2d21f53b
    • Steven Murray's avatar
      Renamed the Log class to Logger and likewise the LogImplementation to · b09a3af3
      Steven Murray authored
      LoggerImplementation.  This then allowed me to rename the writeMsg()
      suit of functions to logMsg() which is much more clear.
      b09a3af3
    • Steven Murray's avatar
      The constructor of each C++ CASTOR daemon now takes a reference to Log object · a80c0bf1
      Steven Murray authored
      as a parameter.  The functions that create the CASTOR daemon objects all
      create a castor::log::LogImplementation object and pass it to the constructor
      of their corresponding CASTOR daemon object.  When unit testting, one now has
      the posibility to develop a dummy Log object that implements the interface
      with dummy or mock routines so that the unit tests can run without having to
      write to syslog or rsyslog which is a bit heavy for unit tests.  The
      castor::log::LogImplementation basically contains the logging code centered
      around syslog that was developed by Sebastien and Dennis.
      
      Please note that I now have to add one or more log functions to the base
      class of the CASTOR daemon objects, namely castor::server::BaseServer.
      a80c0bf1
  21. 28 Mar, 2013 1 commit
  22. 08 Oct, 2010 1 commit
  23. 08 Jul, 2010 1 commit
  24. 08 Jan, 2010 1 commit
  25. 30 Oct, 2009 1 commit
  26. 16 Sep, 2009 1 commit
  27. 18 Aug, 2009 1 commit
  28. 14 Aug, 2009 1 commit
  29. 10 Aug, 2009 1 commit
  30. 13 Jul, 2009 1 commit
  31. 19 May, 2009 1 commit