Skip to content

Commit f055bf8

Browse files
committed
Fix for link to access the log entry on the web-based tool
1 parent ba546b8 commit f055bf8

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

CondCore/Utilities/scripts/uploadConditions.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -619,8 +619,11 @@ def uploadFile(self, filename, backend = defaultBackend, temporaryFile = default
619619
if len(skippedTags) > 0: logging.warning("tags SKIPped to upload : %s ", str(skippedTags) )
620620
if len(failedTags) > 0: logging.error ("tags FAILed to upload : %s ", str(failedTags) )
621621

622-
fileLogURL = 'https://%s/logs/dropBox/getFileLog?fileHash=%s'
623-
logging.info('file log at: %s', fileLogURL % (self.hostname,fileHash))
622+
fileLogURL = 'https://cms-conddb.cern.ch/cmsDbBrowser/logs/show_cond_uploader_log/%s/%s'
623+
backend = 'Prod'
624+
if self.hostname=='cms-conddb-dev.cern.ch':
625+
backend = 'Prep'
626+
logging.info('file log at: %s', fileLogURL % (backend,fileHash))
624627

625628
return len(okTags)>0
626629

0 commit comments

Comments
 (0)