Data Daemon Logging

Introduction

Data Daemon uses LOGBack for logging. By default Data Daemon will log to $OFFLOAD_HOME/log/datad.log. The log files will rollover every day or when they reach 10MB in size.

Overriding Defaults

To customize the logging use the logging.config property in $OFFLOAD_HOME/conf/datad.properties (create the file if it does not exist) to specify the location of a logback.xml format logging configuration file, e.g.:

logging.config=${OFFLOAD_HOME}/conf/datad-logging.xml

Example datad-logging.xml file for logging only to the console:

<?xml version="1.0" encoding="UTF-8"?>
<configuration>
    <include resource="org/springframework/boot/logging/logback/defaults.xml" />
    <include resource="org/springframework/boot/logging/logback/console-appender.xml" />
    <root level="INFO">
        <appender-ref ref="CONSOLE" />
    </root>
</configuration>

Data Daemon must be restarted for the changes to take effect. Refer to Stop Gluent Data Platform Daemons and Start Gluent Data Platform Daemons.

Documentation Feedback

Send feedback on this documentation to: feedback@gluent.com