the 'info' string contains the information you ask for. it either states 'updated' or 'created'


On Jul 1, 2013, at 3:39 PM, Roman Valls wrote:

> In scripts/project_summary_upload.py:
> 
> >  	else:
> > -		logger.debug('Argument error')
> > -	if info:
> > -		logger.info('CouchDB: %s %s %s' % (obj['_id'], obj['project_name'], info))
> Please try to keep the string formatters in place, otherwise we lose information on which specific project failed in the logs. For example a log statement like this provides more actionable information:
> 
> logger.info('New project %s with id %s opened after migration. Please use project_summary_upload_LIMS.py instead.')
> —
> Reply to this email directly or view it on GitHub.
>