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/bin/bbackupquery/BackupQueries.cpp

    r1639 r1784  
    20102010                        opts['r'] /* resume? */); 
    20112011        } 
    2012         catch (BoxException &e) 
    2013         { 
    2014                 ::syslog(LOG_ERR, "Failed to restore: %s", e.what()); 
    2015                 return; 
    2016         } 
    20172012        catch(std::exception &e) 
    20182013        { 
    2019                 ::syslog(LOG_ERR, "Failed to restore: %s", e.what()); 
     2014                BOX_ERROR("Failed to restore: " << e.what()); 
    20202015                return; 
    20212016        } 
    20222017        catch(...) 
    20232018        { 
    2024                 ::syslog(LOG_ERR, "Failed to restore: unknown error"); 
     2019                BOX_ERROR("Failed to restore: unknown exception"); 
    20252020                return; 
    20262021        } 
Note: See TracChangeset for help on using the changeset viewer.