![]() ![]() For more information about how to change dotCMS properties, please see the Changing dotCMS Configuration Properties documentation section). Note: It is strongly recommended that you do not change dotCMS properties directly within the properties files. You may change this by setting the es.path.logs property in the dotmarketing-config.properties file. By default, the location of the files that log slow ElasticSearch queries is $DOTCMSHOME/dotserver/tomcat-X.x.x/logs. You may configure ElasticSearch in dotCMS to automatically log slow ElasticSearch queries, to help you identify and improve queries that take longer than expected. To change the folder log files are written to, replace the default location $ in each of these properties with the full path to the new desired log file location. The log file names and folder locations are specified in the *_LOG_FILE and *_FILENAME_PATTERN properties in the Properties section of the log4j2.xml file. For example, if you change the DYNAMIC_CONTENT_PATH property to /opt/dotcms/dotsecure, then the dotCMS log files will be stored in /opt/dotcms/dotsecure/logs. The DOTCMS_LOGGING_HOME property is automatically created based on the DYNAMIC_CONTENT_PATH property so when you change the DYNAMIC_CONTENT_PATH property, it automatically also changes the location where the log files are stored. ![]() There are two ways to change the locations where log files are stored.ġ. You may use the following methods to change the locations where all log files generated by dotCMS are stored. The following shows the default console logging configuration: Log MessagesĬhanging the Location Where Log Files Are Stored In addition, both application server and dotCMS application log messages may be logged to the console. Note: For information on log files generated by application servers other than Tomcat, please see Other Application Servers, below. YYYY-MM-DD.logĭotserver/Tomcat- X.x.x/logs/catalina. Log File Typeĭotserver/tomcat- X.x.x/webapps/ROOT/dotsecure/logs/ĭotserver/Tomcat- X.x.x/logs/catalina.outĭotserver/tomcat- X.x.x/logs/dotcms_access. The following list shows the different types of log files and the default locations for each type of file. However you may change the locations of all log files please see the following documentation sections for more information. By default, each of the different types of log files is stored in different default locations. Several different types of log files are stored by dotCMS and the application server where you run the dotCMS application (please see the Logging Configuration documentation for more information).
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |