Changeset 2280


Ignore:
Timestamp:
13/09/2008 16:12:17 (3 years ago)
Author:
chris
Message:

Use logging tagger to identify clients during connections, both
in syslog and on the console.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • box/trunk/bin/bbstored/BackupStoreDaemon.cpp

    r2264 r2280  
    322322 
    323323        // Make ps listings clearer 
    324         SetProcessTitle("client %08x", id); 
     324        std::ostringstream tag; 
     325        tag << "client=" << BOX_FORMAT_ACCOUNT(id); 
     326        SetProcessTitle(tag.str().c_str()); 
     327        Logging::Tagger tagWithClientID(tag.str()); 
    325328 
    326329        // Create a context, using this ID 
Note: See TracChangeset for help on using the changeset viewer.