Ignore:
Timestamp:
01/08/2007 00:18:50 (5 years ago)
Author:
chris
Message:

Replace almost all calls to syslog() with logging framework. (merges [1783])

File:
1 edited

Legend:

Unmodified
Added
Removed
  • box/chris/general/lib/server/SSLLib.cpp

    r217 r1784  
    1414#include <openssl/err.h> 
    1515#include <openssl/rand.h> 
    16  
    17 #ifndef WIN32 
    18 #include <syslog.h> 
    19 #endif 
    2016 
    2117#include "SSLLib.h" 
     
    7470        { 
    7571                ::ERR_error_string_n(errcode, errname, sizeof(errname)); 
    76                 #ifndef NDEBUG 
    77                         if(SSLLib__TraceErrors) 
    78                         { 
    79                                 TRACE2("SSL err during %s: %s\n", ErrorDuringAction, errname); 
    80                         } 
    81                 #endif 
    82                 ::syslog(LOG_ERR, "SSL err during %s: %s", ErrorDuringAction, errname); 
     72                BOX_ERROR("SSL error during " << ErrorDuringAction << ": " << 
     73                        errname); 
    8374        } 
    8475} 
Note: See TracChangeset for help on using the changeset viewer.