Skip to content
This repository has been archived by the owner on Feb 22, 2024. It is now read-only.

Commit

Permalink
#67 Extend debug logging while extracting/building conference data
Browse files Browse the repository at this point in the history
  • Loading branch information
ascheman committed Aug 14, 2017
1 parent 0b1ea67 commit 4deba6c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ class DoagDataExtractor implements ConferenceDataExtractor, ApplicationContextAw
// }

DoagDataExtractor(ConferencesConfiguration.Conference config, RawDataMapper rawDataMapper, SpeakerImageService speakerImageService) {
log.debug ("Extracting data for '{}'", config)
this.conferenceId = config.id
this.rawDataMapper = rawDataMapper
this.startDate = config.startDate
Expand All @@ -67,7 +68,7 @@ class DoagDataExtractor implements ConferenceDataExtractor, ApplicationContextAw
}

Conference buildConference() {
log.debug("Building conferences '{}' (name: {}, url: {})", conferenceId, conferenceName, conferenceUrl)
log.debug("Building conference '{}' (name: {}, url: {})", conferenceId, conferenceName, conferenceUrl)
this.rawDataMapper.initMapper()
this.talksJson = this.rawDataMapper.asMap().eventsData
this.speakersJson = this.rawDataMapper.asMap().speakersData
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
package org.dukecon.server.repositories.heise

import groovy.util.logging.Slf4j
import org.dukecon.model.Conference
import org.dukecon.server.repositories.ConferenceDataExtractor
import org.dukecon.server.repositories.RawDataMapper
Expand All @@ -13,12 +14,14 @@ import java.time.LocalDate
*
* @author Falk Sippach, [email protected], @sippsack
*/
@Slf4j
class HeiseDataExtractor implements ConferenceDataExtractor {

final Conference conference
private SpeakerImageService speakerImageService

HeiseDataExtractor(ConferencesConfiguration.Conference config, RawDataMapper rawDataMapper, SpeakerImageService speakerImageService) {
log.debug ("Extracting data for '{}'", config)
this.speakerImageService = speakerImageService
this.conference = fromInput(getInput(rawDataMapper), config.startDate, config.id, config.name, config.url)
}
Expand Down

0 comments on commit 4deba6c

Please sign in to comment.