Skip to content

Commit

Permalink
removed clutter from log
Browse files Browse the repository at this point in the history
  • Loading branch information
mausch committed Jun 17, 2010
1 parent 54a11e0 commit bbd9db1
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions QuartzNetWebConsole/MemoryLogger.cs
Original file line number Diff line number Diff line change
Expand Up @@ -37,12 +37,7 @@ private string LinkJobGroup(string group) {
}

private string Describe(Trigger trigger) {
var cronTrigger = trigger as CronTrigger;
var cronDesc = cronTrigger == null ? null : cronTrigger.CronExpressionString;

var simpleTrigger = trigger as SimpleTrigger;
var simpleDesc = simpleTrigger == null ? null : string.Format("interval {0}, repeat count {1}", simpleTrigger.RepeatInterval, simpleTrigger.RepeatCount);
return string.Format("{0}.{1} ({2}) {3}{4}", LinkTriggerGroup(trigger.Group), trigger.Name, trigger.GetType(), cronDesc, simpleDesc);
return string.Format("{0}.{1}", LinkTriggerGroup(trigger.Group), trigger.Name);
}

public void JobUnscheduled(string triggerName, string triggerGroup) {
Expand Down

0 comments on commit bbd9db1

Please sign in to comment.