- 04 Dec, 2014 1 commit
-
-
Steven Murray authored
-
- 03 Jul, 2014 2 commits
-
-
David COME authored
-
David COME authored
-
- 15 May, 2014 1 commit
-
-
David COME authored
-
- 14 May, 2014 1 commit
-
-
Steven Murray authored
The exception class named castor::exception::Exception provides the same functionality as castor::exception::Internal and therefore one of them had to go for the sake of removing redundant code.
-
- 16 Jan, 2014 1 commit
-
-
Eric Cano authored
Renamed typoed, non unwritten rules following dlg_pengindMessagesVector class to castor::dlf::PendingMessagesVector.
-
- 15 Jan, 2014 1 commit
-
-
Eric Cano authored
Added cleanup in the pending list of the c++ version of the library (for cases when dlf_init is not called.
-
- 24 May, 2012 1 commit
-
-
Sebastien Ponce authored
Changed the handling of logmasks. Now the configuration is always queried and the source is respected
-
- 16 May, 2012 2 commits
-
-
Sebastien Ponce authored
-
Sebastien Ponce authored
This involved moving the definition of basic exceptions to the libcastorcommon and thus adding dependencies to this library in a couple of places that depended only on libcastorclient
-
- 09 Nov, 2009 1 commit
-
-
Sebastien Ponce authored
- added includes for string.h and stdlib.h - added casts from const char* to char*
-
- 18 Aug, 2009 1 commit
-
-
Dennis Waldron authored
-
- 04 Feb, 2009 1 commit
-
-
Steven Murray authored
This macro should be used when it is desirable to include the file, line and function context information in a log. It is advised to include such information when logging an error for the developers, but not to use it for monitoring logs where operators are informed of what is happening and they do not need or want to know the details of the source code. The CASTOR_DLF_WRITEPC macro macro generates the file, line and function context information automatically and passes it on down the DLF logging chain. This means developers do not need to use the __FILE__, __LINE__, __PRETTY_FUNCTION__ macros in their application code when logging. Here is an example of using this macro: try { ... } catch(castor::exception::Exception &ex) { castor::dlf::Param params[] = { castor::dlf::Param("volReqId", vdqmJobRequest.tapeRequestId), castor::dlf::Param("Message" , ex.getMessage().str() ), castor::dlf::Param("Code" , ex.code() )}; CASTOR_DLF_WRITEPC(cuuid, DLF_LVL_ERROR, AGGREGATOR_MAIN_SELECT_FAILED, params); }
-
- 22 Aug, 2008 1 commit
-
-
Steven Murray authored
of ::dlf_init() to the exception thrown by: castor::dlf::dlf_init(const char* facilityName, castor::dlf::Message messages[]) A nice explanatory message was being consructed when the facility name exceeded 21 characters in length, but the message was not added to the exception, so I only got a "Unable to initialize DLF" with no further explanation when I tried to initialise DLF with a crazy long name.
-
- 20 May, 2008 1 commit
-
-
Dennis Waldron authored
-
- 14 Mar, 2008 1 commit
-
-
Sebastien Ponce authored
-
- 10 Mar, 2008 1 commit
-
-
Dennis Waldron authored
-
- 05 Mar, 2008 3 commits
-
-
Rosa Maria Garcia Rioja authored
-
Rosa Maria Garcia Rioja authored
-
Rosa Maria Garcia Rioja authored
-
- 17 Aug, 2007 1 commit
-
-
Sebastien Ponce authored
Use ::dlf_isinitialized instead of our own version so that it works also when DLF is initialized from C
-
- 16 Aug, 2007 1 commit
-
-
Sebastien Ponce authored
Improved logging into DLF. You can now declare new messages even before DLF was initialized. Very useful for libraries loaded before the main is called \!
-
- 18 Jul, 2007 1 commit
-
-
Dennis Waldron authored
-
- 25 Sep, 2006 1 commit
-
-
Sebastien Ponce authored
-
- 13 Jun, 2006 1 commit
-
-
Dennis Waldron authored
-
- 11 Apr, 2006 1 commit
-
-
Vitali Motyakov authored
-
- 05 Apr, 2005 1 commit
-
-
Sebastien Ponce authored
C++ interface to DLF. This is supposed to replace the current logging facility without loosing the possibility to give objects to the interface.
-