Skip to content

Commit

Permalink
[FIXED JENKINS-22132] Remove spam entries from log file
Browse files Browse the repository at this point in the history
  • Loading branch information
Stefan Brausch committed Jul 18, 2014
1 parent 8673c03 commit 808198a
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
2 changes: 1 addition & 1 deletion pom.xml
Expand Up @@ -3,7 +3,7 @@
<parent>
<groupId>org.jenkins-ci.plugins</groupId>
<artifactId>plugin</artifactId>
<version> 1.532.2</version> <!-- which version of Jenkins is this plugin built against? -->
<version> 1.554.3</version> <!-- which version of Jenkins is this plugin built against? -->
</parent>
<name>Periodic Reincarnation Plugin</name>
<groupId>org.jenkins-ci.plugins</groupId>
Expand Down
@@ -1,5 +1,6 @@
package org.jenkinsci.plugins.periodicreincarnation;

import java.util.logging.Level;
import java.util.logging.Logger;

import hudson.model.AsyncPeriodicWork;
Expand Down Expand Up @@ -35,6 +36,14 @@ public class PeriodicReincarnation extends AsyncPeriodicWork {
private static final Logger LOGGER = Logger
.getLogger(PeriodicReincarnation.class.getName());

/**
* No spam in log file
*/
@Override
protected Level getNormalLoggingLevel() {
return Level.FINEST;
}

/**
* For every RegEx holds the projects being restarted because of it.
*/
Expand Down

0 comments on commit 808198a

Please sign in to comment.