Skip to content

Commit

Permalink
Bug 797509 - Fixed a logging problem, made the dates format in mappin…
Browse files Browse the repository at this point in the history
…g a little simpler.
  • Loading branch information
adngdb committed Feb 7, 2013
1 parent 7c6c41a commit 629217a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion socorro/external/elasticsearch/crashstorage.py
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ def _submit_crash_to_elasticsearch(self, processed_crash):
except pyelasticsearch.exceptions.ElasticHttpError, e:
self.logger.critical(u'%s may not have been submitted to '
'elasticsearch due to the following: %s',
(crash_id, e))
crash_id, e)
raise
except Exception:
self.logger.critical('Submission to elasticsearch failed for %s',
Expand Down
10 changes: 5 additions & 5 deletions socorro/external/elasticsearch/socorro_index_settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,23 +15,23 @@
"properties": {
"completeddatetime": {
"type": "date",
"format": "yyyy-MM-dd'T'HH:mm:ss.SSSSSSZZ||yyyy-MM-dd'T'HH:mm:ss.SSSSSS||yyyy-MM-dd HH:mm:ss.SSSSSSZZ||yyyy-MM-dd HH:mm:ss.SSSSSS||yyyy-MM-dd HH:mm:ss.S"
"format": "yyyy-MM-dd'T'HH:mm:ssZZ||yyyy-MM-dd'T'HH:mm:ss.SSSSSSZZ"
},
"date_processed": {
"type": "date",
"format": "yyyy-MM-dd'T'HH:mm:ss.SSSSSSZZ||yyyy-MM-dd'T'HH:mm:ss.SSSSSS||yyyy-MM-dd HH:mm:ss.SSSSSSZZ||yyyy-MM-dd HH:mm:ss.SSSSSS||yyyy-MM-dd HH:mm:ss.S"
"format": "yyyy-MM-dd'T'HH:mm:ssZZ||yyyy-MM-dd'T'HH:mm:ss.SSSSSSZZ"
},
"client_crash_date": {
"type": "date",
"format": "yyyy-MM-dd'T'HH:mm:ss.SSSSSSZZ||yyyy-MM-dd'T'HH:mm:ss.SSSSSS||yyyy-MM-dd HH:mm:ss.SSSSSSZZ||yyyy-MM-dd HH:mm:ss.SSSSSS||yyyy-MM-dd HH:mm:ss.S"
"format": "yyyy-MM-dd'T'HH:mm:ssZZ||yyyy-MM-dd'T'HH:mm:ss.SSSSSSZZ"
},
"build_date": {
"type": "date",
"format": "yyyy-MM-dd'T'HH:mm:ss.SSSSSSZZ||yyyy-MM-dd'T'HH:mm:ss.SSSSSS||yyyy-MM-dd HH:mm:ss.SSSSSSZZ||yyyy-MM-dd HH:mm:ss.SSSSSS||yyyy-MM-dd HH:mm:ss.S"
"format": "yyyy-MM-dd'T'HH:mm:ssZZ||yyyy-MM-dd'T'HH:mm:ss.SSSSSSZZ"
},
"startedDateTime": {
"type": "date",
"format": "yyyy-MM-dd'T'HH:mm:ss.SSSSSSZZ||yyyy-MM-dd'T'HH:mm:ss.SSSSSS||yyyy-MM-dd HH:mm:ss.SSSSSSZZ||yyyy-MM-dd HH:mm:ss.SSSSSS||yyyy-MM-dd HH:mm:ss.S"
"format": "yyyy-MM-dd'T'HH:mm:ssZZ||yyyy-MM-dd'T'HH:mm:ss.SSSSSSZZ"
},
"signature": {
"type": "multi_field",
Expand Down

0 comments on commit 629217a

Please sign in to comment.