Skip to content

Commit

Permalink
Change periodic works normal log level from info to fine
Browse files Browse the repository at this point in the history
  • Loading branch information
gavinfish committed Dec 10, 2018
1 parent 4a69c80 commit 6b804c2
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -662,6 +662,11 @@ public long getRecurrencePeriod() {
return RECURRENCE_PERIOD_IN_MILLIS;
}

@Override
protected Level getNormalLoggingLevel() {
return Level.FINE;
}

public static String loadProperty(final String name) {
final String value = System.getProperty(name);
if (StringUtils.isBlank(value)) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -209,6 +209,7 @@ public static AzureVMCloud getCloud(String cloudName) {
return Jenkins.getInstance() == null ? null : (AzureVMCloud) Jenkins.getInstance().getCloud(cloudName);
}

@Override
public void execute(TaskListener arg0) {
for (Cloud cloud : Jenkins.getInstance().clouds) {
if (cloud instanceof AzureVMCloud) {
Expand All @@ -225,4 +226,8 @@ public long getRecurrencePeriod() {
return RECURRENCE_PERIOD_IN_MILLIS;
}

@Override
protected Level getNormalLoggingLevel() {
return Level.FINE;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -88,4 +88,9 @@ public void execute(TaskListener arg0) {
public long getRecurrencePeriod() {
return RECURRENCE_PERIOD_IN_MILLIS;
}

@Override
protected Level getNormalLoggingLevel() {
return Level.FINE;
}
}

0 comments on commit 6b804c2

Please sign in to comment.