Logging Services
Logging in BellaDati is provided by the LogBack framework. The location of the system's log files containing diagnostic messages can be managed by changing the WEB-INF/classes/logback.xml
configuration file contained in belladati.war
.
BellaDati uses 3 appenders: web
, core
and queries
. To change the log files storage path, you can unzip the mentioned file and edit the <file>
tag. For example, the configuration might look like:
<appender name="LOG-FILE" class="ch.qos.logback.core.rolling.RollingFileAppender"> <file>../logs/belladati/belladati_web.log</file> <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy"> <fileNamePattern>../logs/belladati/belladati_web.%d{yyyy-MM-dd}.log</fileNamePattern> </rollingPolicy> <encoder> <pattern>%d{HH:mm:ss,SSS} [%thread] %-5level %logger{36} - %msg%n</pattern> </encoder> </appender> <appender name="CORE-LOG-FILE" class="ch.qos.logback.core.rolling.RollingFileAppender"> <file>../logs/belladati/core/ds-core.log</file> <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy"> <fileNamePattern>../logs/belladati/core/ds-core.%d{yyyy-MM-dd}.log</fileNamePattern> </rollingPolicy> <encoder> <pattern>%d{HH:mm:ss,SSS} [%thread] %-5level %logger{36} - %msg%n</pattern> </encoder> </appender> <appender name="CORE-LOG-FILE-QUERIES" class="ch.qos.logback.core.rolling.RollingFileAppender"> <file>../logs/belladati/core/ds-failed-queries.log</file> <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy"> <fileNamePattern>logFile.%d{yyyy-MM-dd}.log</fileNamePattern> </rollingPolicy> <encoder> <pattern>%d{HH:mm:ss,SSS} [%thread] %-5level %logger{36} - %msg%n</pattern> </encoder> </appender>
If you encounter any issues using BellaDati or anything doesn't behave the way you were expecting, please append these log files to any issue you create at http://support.belladati.com.
Overview
Content Tools