Expand my Community achievements bar.

Turn off logging for default flush agent

Avatar

Level 3

We keep getting a log of errors on the default dispatcher flush agent which has been turned off.Is there anyway to turn it off - 

 

[ERROR] Fri, May 26 2017 
11:53:51 EDT
Job contains agent which is not started: flush. waiting ReplicationJob{job=JobImpl [properties=org.apache.sling.api.wrappers.ValueMapDecorator@55fd05ba : {event.job.retrydelay=60000, cq:type=ACTIVATE, slingevent:application=4c56f69a-9a61-45e7-bc82-f9c694684608, jcr:created=java.util.GregorianCalendar[time=1495074292799,areFieldsSet=true,areAllFieldsSet=true,lenient=false,zone=sun.util.calendar.ZoneInfo[id="GMT-04:00",offset=-14400000,dstSavings=0,useDaylight=false,transitions=0,lastRule=null],firstDayOfWeek=1,minimalDaysInFirstWeek=1,ERA=1,YEAR=2017,MONTH=4,WEEK_OF_YEAR=20,WEEK_OF_MONTH=3,DAY_OF_MONTH=17,DAY_OF_YEAR=137,DAY_OF_WEEK=4,DAY_OF_WEEK_IN_MONTH=3,AM_PM=1,HOUR=10,HOUR_OF_DAY=22,MINUTE=24,SECOND=52,MILLISECOND=799,ZONE_OFFSET=-14400000,DST_OFFSET=0], slingevent:created=java.util.GregorianCalendar[time=1484769866042,areFieldsSet=true,areAllFieldsSet=true,lenient=false,zone=sun.util.calendar.ZoneInfo[id="GMT-05:00",offset=-18000000,dstSavings=0,useDaylight=false,transitions=0,lastRule=null],firstDayOfWeek=1,minimalDaysInFirstWeek=1,ERA=1,YEAR=2017,MONTH=0,WEEK_OF_YEAR=3,WEEK_OF_MONTH=3,DAY_OF_MONTH=18,DAY_OF_YEAR=18,DAY_OF_WEEK=4,DAY_OF_WEEK_IN_MONTH=3,AM_PM=1,HOUR=3,HOUR_OF_DAY=15,MINUTE=4,SECOND=26,MILLISECOND=42,ZONE_OFFSET=-18000000,DST_OFFSET=0], event.job.queuename=com_day_cq_replication_job_flush, event.job.queued.time=java.util.GregorianCalendar[time=1495074319809,areFieldsSet=true,areAllFieldsSet=true,lenient=false,zone=sun.util.calendar.ZoneInfo[id="GMT-04:00",offset=-14400000,dstSavings=0,useDaylight=false,transitions=0,lastRule=null],firstDayOfWeek=1,minimalDaysInFirstWeek=1,ERA=1,YEAR=2017,MONTH=4,WEEK_OF_YEAR=20,WEEK_OF_MONTH=3,DAY_OF_MONTH=17,DAY_OF_YEAR=137,DAY_OF_WEEK=4,DAY_OF_WEEK_IN_MONTH=3,AM_PM=1,HOUR=10,HOUR_OF_DAY=22,MINUTE=25,SECOND=19,MILLISECOND=809,ZONE_OFFSET=-14400000,DST_OFFSET=0], jcr:createdBy=admin, sling:resourceType=slingevent:Job, slingevent:eventId=2017/1/18/15/4/4c56f69a-9a61-45e7-bc82-f9c694684608_2104, event.job.application=4c56f69a-9a61-45e7-bc82-f9c694684608, event.job.retries=-1, cq:path=/content/public/about-pennmutual/press-room/press-releases, cq:user=ubattu, event.job.started.time=java.util.GregorianCalendar[time=1495814030999,areFieldsSet=true,areAllFieldsSet=true,lenient=true,zone=sun.util.calendar.ZoneInfo[id="America/New_York",offset=-18000000,dstSavings=3600000,useDaylight=true,transitions=235,lastRule=java.util.SimpleTimeZone[id=America/New_York,offset=-18000000,dstSavings=3600000,useDaylight=true,startYear=0,startMode=3,startMonth=2,startDay=8,startDayOfWeek=1,startTime=7200000,startTimeMode=0,endMode=3,endMonth=10,endDay=1,endDayOfWeek=1,endTime=7200000,endTimeMode=0]],firstDayOfWeek=1,minimalDaysInFirstWeek=1,ERA=1,YEAR=2017,MONTH=4,WEEK_OF_YEAR=21,WEEK_OF_MONTH=4,DAY_OF_MONTH=26,DAY_OF_YEAR=146,DAY_OF_WEEK=6,DAY_OF_WEEK_IN_MONTH=4,AM_PM=0,HOUR=11,HOUR_OF_DAY=11,MINUTE=53,SECOND=50,MILLISECOND=999,ZONE_OFFSET=-18000000,DST_OFFSET=3600000], jcr:primaryType=slingevent:Job, event.job.retrycount=184008, event.job.topic=com/day/cq/replication/job/flush, cq:time=1484769865991}, topic=com/day/cq/replication/job/flush, path=/var/eventing/jobs/assigned/4c56f69a-9a61-45e7-bc82-f9c694684608/com.day.cq.replication.job.flush/2017/1/18/15/4/4c56f69a-9a61-45e7-bc82-f9c694684608_2104, jobId=2017/1/18/15/4/4c56f69a-9a61-45e7-bc82-f9c694684608_2104]}
com.day.cq.replication.impl.AgentManagerImpl

3 Replies

Avatar

Level 10

When you edit a replication agent - your log options are as shown in this illustration. 

There is no discussion in the docs that indicate that you can turn off logging. You can only control the log level. 

See: 

https://docs.adobe.com/docs/en/aem/6-2/deploy/configuring/replication.html#Configuring your Replication Agents from the Author Environment

Avatar

Level 9

Hi Sonali, 

Jobs will be keep running.  Since you do not have agent just clean the jobs at /var/eventing/jobs/<your specific agent>

Thanks,

Avatar

Level 2

If the replication agent is disabled, I am not sure why are you getting all these errors? There should not be any logs coming in this case. if these are coming, I will suggest you log a ticket with Adobe.