- cleanup more logs
This commit is contained in:
parent
a1a82f96d0
commit
2f4eae512f
@ -111,7 +111,6 @@ public class RecordingServiceHelperImp implements RecordingServiceHelper {
|
||||
*/
|
||||
Map<String, String> meta = new HashMap<String, String>();
|
||||
rec.meta.children().each { anode ->
|
||||
log.debug("metadata: "+anode.name()+" "+anode.text())
|
||||
meta.put(anode.name().toString(), anode.text().toString());
|
||||
}
|
||||
r.setMetadata(meta);
|
||||
|
@ -36,7 +36,7 @@ public class DocumentConversionServiceImp implements DocumentConversionService {
|
||||
|
||||
public void processDocument(UploadedPresentation pres) {
|
||||
SupportedDocumentFilter sdf = new SupportedDocumentFilter(messagingService);
|
||||
log.info("Start presentation conversion. MeetingId=[" + pres.getMeetingId() + "], presId=[" + pres.getId() + "], name=[" + pres.getName() + "], timestamp=[" + System.currentTimeMillis() + "]");
|
||||
log.info("Start presentation conversion. meetingId=" + pres.getMeetingId() + " presId=" + pres.getId() + " name=" + pres.getName());
|
||||
|
||||
if (sdf.isSupported(pres)) {
|
||||
String fileType = pres.getFileType();
|
||||
@ -61,7 +61,7 @@ public class DocumentConversionServiceImp implements DocumentConversionService {
|
||||
// TODO: error log
|
||||
}
|
||||
|
||||
log.info("End presentation conversion. MeetingId=[" + pres.getMeetingId() + "], presId=[" + pres.getId() + "], name=[" + pres.getName() + "], timestamp=[" + System.currentTimeMillis() + "]");
|
||||
log.info("End presentation conversion. meetingId=" + pres.getMeetingId() + " presId=" + pres.getId() + " name=" + pres.getName());
|
||||
|
||||
}
|
||||
|
||||
|
@ -40,7 +40,6 @@ public class PageCounterService {
|
||||
}
|
||||
|
||||
if (isNumberOfPagesValid(numberOfPages)) {
|
||||
log.debug("Counting pages for " + pres.getFileType() + " " + numberOfPages);
|
||||
pres.setNumberOfPages(numberOfPages);
|
||||
}
|
||||
}
|
||||
@ -59,7 +58,6 @@ public class PageCounterService {
|
||||
|
||||
private boolean checkIfNumberOfPagesExceedsLimit(int numberOfPages) {
|
||||
if (numberOfPages > maxNumPages) {
|
||||
log.warn("Number of pages greater than maximum [" + numberOfPages + ">" + maxNumPages);
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
|
@ -152,18 +152,18 @@ public class PdfToSwfSlidesGenerationService {
|
||||
slidesCompleted++;
|
||||
notifier.sendConversionUpdateMessage(slidesCompleted, pres);
|
||||
} else {
|
||||
log.warn("Timedout waiting for page to finish conversion. MeetingId=[" + pres.getMeetingId() + "], presId=[" + pres.getId() + "], name=[" + pres.getName() + "]");
|
||||
log.warn("Timedout waiting for page to finish conversion. meetingId=" + pres.getMeetingId() + " presId=" + pres.getId() + " presName=" + pres.getName() );
|
||||
}
|
||||
} catch (InterruptedException e) {
|
||||
log.error("InterruptedException while creating slide " + pres.getName());
|
||||
log.error("InterruptedException while creating slide. meetingId=" + pres.getMeetingId() + " presId=" + pres.getId() + " name=[" + pres.getName());
|
||||
} catch (ExecutionException e) {
|
||||
log.error("ExecutionException while creating slide " + pres.getName());
|
||||
log.error("ExecutionException while creating slide. meetingId=" + pres.getMeetingId() + " presId=" + pres.getId() + " name=[" + pres.getName());
|
||||
}
|
||||
}
|
||||
|
||||
for (final PdfToSwfSlide slide : slides) {
|
||||
if (! slide.isDone()){
|
||||
log.warn("Creating blank slide. MeetingId=[" + pres.getMeetingId() + "], presId=[" + pres.getId() + "], name=[" + pres.getName() + "], page=[" + slide.getPageNumber() + "]");
|
||||
log.warn("Creating blank slide. meetingId=" + pres.getMeetingId() + " presId=" + pres.getId() + " name=[" + pres.getName() + " page=" + slide.getPageNumber());
|
||||
|
||||
slide.generateBlankSlide();
|
||||
notifier.sendConversionUpdateMessage(slidesCompleted++, pres);
|
||||
|
Loading…
Reference in New Issue
Block a user