Not a customer? Click the 'Start a free trial' link to begin a 30-day SaaS trial of our product and to join our community.
Existing Cisco AppDynamics customers should click the 'Sign In' button to authenticate to access the community
on 06-02-2017 10:53 AM - edited on 06-23-2017 09:43 AM by Erin
The AppDynamics Domain1 Service log (located in <Controller_Home>\appserver\glassfish\domains\domain1\bin\AppDynamicsDomain1Service.err.log
) is growing rapidly when a Controller is installed on a Windows Server.
There is a bug within Glassfish that causes this log file to grow rapidly.
This particular file contains the same information as the log files in <controller_home>/logs/server*.log files, so it is possible to rotate the Domain1 Service log without losing any data.
Newer versions of Glassfish include an option to avoid writing any data to the Domain1 Service logs.
Controller\appserver\glassfish\domains\domain1\bin\AppDynamicsDomain1Service.xml
file<logmode>reset</logmode>
to <logmode>roll</logmode>.
Note: The log files are rotated with name .old
not dynamically, but only on App Server start and stop. The logs will continue to grow until the next restart.
After these steps, the first time the App Server is restarted, the current log file will be renamed to .old
. The next time the App Server is restarted, the .old
file is purged and the current log file is renamed to .old
.
Thank you! Your submission has been received!
Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form