for whatever reason the INFO level log doesn't show up, so bumping up to WARN
This commit is contained in:
parent
b07e4a7958
commit
1cb694bb90
|
@ -9,7 +9,6 @@ import org.quartz.JobExecutionException;
|
|||
*/
|
||||
public class RegeneratorImpl extends AbstractJob {
|
||||
public RegeneratorImpl() {
|
||||
System.out.println("BRAVO");
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -3,6 +3,8 @@ package org.kohsuke.confluence.scache;
|
|||
import org.quartz.JobDetail;
|
||||
|
||||
/**
|
||||
* See https://developer.atlassian.com/display/CONFDEV/Workaround+pattern+for+autowiring+jobs
|
||||
*
|
||||
* @author Kohsuke Kawaguchi
|
||||
*/
|
||||
public class RegeneratorJobDetail extends JobDetail {
|
||||
|
|
|
@ -18,7 +18,8 @@ import org.apache.commons.httpclient.HttpMethod;
|
|||
import org.apache.commons.httpclient.methods.GetMethod;
|
||||
import org.apache.commons.httpclient.protocol.Protocol;
|
||||
import org.apache.commons.io.IOUtils;
|
||||
import org.apache.log4j.Logger;
|
||||
import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
||||
|
||||
import java.io.File;
|
||||
import java.io.FileOutputStream;
|
||||
|
@ -142,7 +143,7 @@ public class StaticPageGenerator {
|
|||
public void regenerateAll() {
|
||||
if (!configurationManager.isConfigured()) return;
|
||||
|
||||
LOGGER.info("Rescheduling the generation of everything");
|
||||
LOGGER.warn("Rescheduling the generation of everything");
|
||||
for (Space space : spaceManager.getAllSpaces()) {
|
||||
if (space.isPersonal()) continue; // don't care about personal space
|
||||
|
||||
|
@ -221,7 +222,7 @@ public class StaticPageGenerator {
|
|||
return t;
|
||||
}
|
||||
|
||||
private static final Logger LOGGER = Logger.getLogger(StaticPageGenerator.class);
|
||||
private static final Logger LOGGER = LoggerFactory.getLogger(StaticPageGenerator.class);
|
||||
|
||||
private static final ThreadFactory DAEMON_THREAD_FACTORY = new ThreadFactory() {
|
||||
public Thread newThread(Runnable r) {
|
||||
|
|
Loading…
Reference in New Issue