Skip to content

Commit

Permalink
more log
Browse files Browse the repository at this point in the history
  • Loading branch information
Vincenzo Innocente committed Nov 12, 2009
1 parent 493667a commit c059db7
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions CondCore/Utilities/bin/cmscond_export_iov.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -159,12 +159,8 @@ int cond::ExportIOVUtilities::execute(){
cond::UserLogInfo a;
a.provenance=sourceConnect+"/"+inputTag;
a.usertext="exportIOV V2.0;";
{
std::ostringstream ss;
ss << "since="<< since <<", till="<< till << ", " << usertext << ";";
a.usertext +=ss.str();
}

if (newIOV) a.usertext+= "new tag;";

sourcedb.transaction().start(true);
{
cond::DbScopedTransaction transaction(destdb);
Expand All @@ -175,9 +171,15 @@ int cond::ExportIOVUtilities::execute(){
bool stored = destdb.importMapping( sourcedb, payloadContainer );
if(debug)
std::cout<< "payload mapping " << (stored ? "" : "not ") << "stored"<<std::endl;
if (stored) a.usertext+="mapping stored;";
}
}


{
std::ostringstream ss;
ss << "since="<< since <<", till="<< till << ", " << usertext << ";";
a.usertext +=ss.str();
}

destiovtoken=iovmanager.exportIOVRangeWithPayload( destdb,
sourceiovtoken,
Expand Down

0 comments on commit c059db7

Please sign in to comment.