java/code/src/com/redhat/rhn/taskomatic/task/RepoSyncTask.java | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
New commits:
commit 6d646c4d88c6ac865f11ea44ac9e713f3f0d8aaa
Author: Tomas Lestach <tlestach(a)redhat.com>
Date: Thu Jul 26 09:36:24 2012 +0200
log a message when repo sync task is triggered
diff --git a/java/code/src/com/redhat/rhn/taskomatic/task/RepoSyncTask.java
b/java/code/src/com/redhat/rhn/taskomatic/task/RepoSyncTask.java
index 5c8588a..e61ddb9 100644
--- a/java/code/src/com/redhat/rhn/taskomatic/task/RepoSyncTask.java
+++ b/java/code/src/com/redhat/rhn/taskomatic/task/RepoSyncTask.java
@@ -59,9 +59,7 @@ public class RepoSyncTask extends RhnJavaJob {
throw new JobExecutionException("No such channel with channel_id "
+ channelId);
}
- if (log.isDebugEnabled()) {
- log.debug("Syncing repos for channel: " + c.getName());
- }
+ log.info("Syncing repos for channel: " + c.getName());
executeExtCmd(getSyncCommand(c).toArray(new String[0]));
c.setLastSynced(new Date());
Show replies by date