Aem dispatcher.log size surges suddenly | Community
Skip to main content
August 19, 2020
Solved

Aem dispatcher.log size surges suddenly

  • August 19, 2020
  • 2 replies
  • 1171 views

Hi, 

 

Our systems dispatcher.log file size surges suddenly. Even after nullifying the file, it increases upto 500mb/min. This file eats all the disk space in the dispatcher server. 

Can anyone advice how to resolve this issue. 

 

Thanks in advance. 

 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Nupur_Jain

Hi @karthikfordreal 

 

You should check for few things on why the logs are filling at this rate:

  1. Check if the log level for dispatcher logs is ERROR, not DEBUG or TRACE. TRace can produce  a lot of lines of log for a single request. Log level can be changed from httpd.conf or apache2.conf file by changing dispatcher global configuration 
    <fModule disp_apache2.c>
    DispatcherConfig conf/dispatcher.any
    DispatcherLog logs/dispatcher.log 
    DispatcherLogLevel 0 DispatcherNoServerHeader 0
    DispatcherDeclineRoot 0 DispatcherUseProcessedURL 0 DispatcherPassError 0 DispatcherKeepAliveTimeout 60 </IfModule>
    Make sure DispatcherLogLevel is 0 or ERROR
  2. Try to analyse what type of requests are filling up the logs whether there are logs of flushing/invalidation of content request or page request etc. Then try to work on that part, you might new an extra pair of dispatcher/publisher if single publisher is serving a lot more than its capacity.

Hope it helps!

Thanks!

Nupur

2 replies

Nupur_Jain
Adobe Employee
Nupur_JainAdobe EmployeeAccepted solution
Adobe Employee
August 20, 2020

Hi @karthikfordreal 

 

You should check for few things on why the logs are filling at this rate:

  1. Check if the log level for dispatcher logs is ERROR, not DEBUG or TRACE. TRace can produce  a lot of lines of log for a single request. Log level can be changed from httpd.conf or apache2.conf file by changing dispatcher global configuration 
    <fModule disp_apache2.c>
    DispatcherConfig conf/dispatcher.any
    DispatcherLog logs/dispatcher.log 
    DispatcherLogLevel 0 DispatcherNoServerHeader 0
    DispatcherDeclineRoot 0 DispatcherUseProcessedURL 0 DispatcherPassError 0 DispatcherKeepAliveTimeout 60 </IfModule>
    Make sure DispatcherLogLevel is 0 or ERROR
  2. Try to analyse what type of requests are filling up the logs whether there are logs of flushing/invalidation of content request or page request etc. Then try to work on that part, you might new an extra pair of dispatcher/publisher if single publisher is serving a lot more than its capacity.

Hope it helps!

Thanks!

Nupur

Mayank_Gandhi
Adobe Employee
Adobe Employee
August 24, 2020

 As Nupur mentioned, first check what kind of calls are being logged and the log level set for those requests in the conf file.