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/backupclient/BackupStoreFile.cpp

    r1637 r1784  
    1818#include <new> 
    1919#include <string.h> 
     20 
    2021#ifndef BOX_DISABLE_BACKWARDS_COMPATIBILITY_BACKUPSTOREFILE 
    21         #ifndef WIN32 
    22                 #include <syslog.h> 
    23         #endif 
    2422        #include <stdio.h> 
    2523#endif 
     
    759757                                        if(!sWarnedAboutBackwardsCompatiblity) 
    760758                                        { 
    761                                                 ::printf("WARNING: Decoded one or more files using backwards compatibility mode for block index.\n"); 
    762                                                 ::syslog(LOG_ERR, "WARNING: Decoded one or more files using backwards compatibility mode for block index.\n"); 
     759                                                BOX_WARNING("WARNING: Decoded one or more files using backwards compatibility mode for block index."); 
    763760                                                sWarnedAboutBackwardsCompatiblity = true; 
    764761                                        } 
Note: See TracChangeset for help on using the changeset viewer.