]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Improved output when setting the CDB manager in snapshot mode
authorrgrosso <rgrosso@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 4 Apr 2012 16:42:08 +0000 (16:42 +0000)
committerrgrosso <rgrosso@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 4 Apr 2012 16:42:08 +0000 (16:42 +0000)
STEER/CDB/AliCDBManager.cxx

index a1e3dbed732d4ac5ee35898b2658f7c2b1acdea9..c27d24bd4e694b5fcc82a9f5f238faf6b5015686 100644 (file)
@@ -301,8 +301,6 @@ AliCDBManager::AliCDBManager():
   fLock(kFALSE),
   fSnapshotMode(kFALSE),
   fSnapshotFile(0),
-//  fSnapshotCache(0),
-//  fSnapshotIdsList(0),
   fRaw(kFALSE),
   fStartRunLHCPeriod(-1),
   fEndRunLHCPeriod(-1),
@@ -856,7 +854,7 @@ AliCDBEntry* AliCDBManager::Get(const AliCDBId& query) {
                // all the map would be charged in memory from the snapshot anyway.
                entry = GetEntryFromSnapshot(query.GetPath());
            if(entry) {
-               AliDebug(2, Form("Object %s retrieved from the snapshot !!",query.GetPath().Data()));
+               AliInfo(Form("Object \"%s\" retrieved from the snapshot.",query.GetPath().Data()));
                if(query.GetFirstRun() == fRun) // no need to check fCache, fSnapshotMode not possible otherwise
                    CacheEntry(query.GetPath(), entry);
 
@@ -941,6 +939,7 @@ Bool_t AliCDBManager::SetSnapshotMode(const char* snapshotFileName) {
        return kFALSE;
     }
 
+    Printf("The CDB manager is set in snapshot mode: cache->snapshot->defaultstorage");
     fSnapshotMode = kTRUE;
     return kTRUE;