Skip to content

Commit

Permalink
remove non-speaking logging and replace with better logging for bulkC…
Browse files Browse the repository at this point in the history
…reation
  • Loading branch information
dularion committed May 12, 2018
1 parent 6950808 commit 4261cd8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions grails-app/services/streama/BulkCreateService.groovy
Expand Up @@ -207,6 +207,9 @@ class BulkCreateService {
if(entity instanceof Video){
entity.addLocalFile(fileMatcher.file)
}

log.debug("creating entity of type ${entity.getClass().canonicalName} with id ${entity.id}")

fileMatcher.status = MATCHER_STATUS.CREATED
fileMatcher.importedId = entity instanceof Episode ? entity.showId : entity.id
fileMatcher.importedType = STREAMA_ROUTES[type]
Expand Down
2 changes: 1 addition & 1 deletion grails-app/services/streama/TheMovieDbService.groovy
Expand Up @@ -187,7 +187,7 @@ class TheMovieDbService {
tvShow = createEntityFromApiId('tv', data.tv_id)
}
entity.show = tvShow
log.debug("epiosde data")
// log.debug("epiosde data")
}

entity.properties = data
Expand Down

0 comments on commit 4261cd8

Please sign in to comment.