How to change the logging format to CSV
Question
Is it possible to change the format of the log file?
Answer
Yes, you can change the format of the log file. Here are the steps to change it to CSV:
- Edit DigitalHive\app\node1\tomcat\conf\logback.xml
- Look for this section:

- After the above section, add this CSV appender:
<appender name="CSV_FILE" class="ch.qos.logback.core.rolling.RollingFileAppender">
<rollingPolicy class="ch.qos.logback.core.rolling.SizeAndTimeBasedRollingPolicy">
<fileNamePattern>${logDir}/${baseName}.%d{yyyy-MM-dd}.%i.csv.zip</fileNamePattern>
<maxFileSize>10MB</maxFileSize>
</rollingPolicy>
<encoder class="ch.qos.logback.classic.encoder.PatternLayoutEncoder">
<!-- Pattern ensures fields are quoted and internal quotes are escaped -->
<pattern>"%d{yyyy-MM-dd HH:mm:ss.SSS}","%dhUser","${hostname}","%t","%p","%logger{36}","%replace(%msg){'"', '""'}"%n</pattern>
</encoder>
</appender>
This is what that section should look like:

- Scroll to the bottom of the file where you see this section: <root level="INFO">
- Add this to that section: <appender-ref ref="CSV_FILE" />
This is what it should look like now:

- Wait approximately 30 seconds, navigate to DigitalHive/app/node1/tomcat/logs and you will see the new CSV file appear. The file will look like this (with the appropriate date stamp): theia.2026-06-11.0.csv
Related Articles
Digital Hive Logging
Question Is there any logging available to help troubleshoot issues? Answer Digital Hive has several types of log files available for troubleshooting issues. Here are the various Digital Hive log files and what they contain. Theia Log This is the ...
How to Change the Default Ports
Question Is there a way to change the default ports (9080 and 9443) that Digital Hive uses? Answer The following steps outline how to change the default ports on a Windows server. It is strongly recommended that https be used and not http, and by ...
Change the Location of the Hive Launcher
Question The Hive Launcher is on the right-hand side of the header beside the avatar. Is there any way to move it to the left-hand side? Answer As of the Digital Hive 2.1 release, the location of the Hive Launcher icon can be customized. New Hives ...
How to set up Multilingual Pages in Digital Hive 2026.1?
Question How do I configure multilingual pages in Digital Hive version 2026.1? Answer Multilingual support is now handled on a per page basis by adding different locales. Create a new Hive or add a new page to an existing Hive. You can add certain ...
Creating a Custom Color Scheme
Question Within Digital Hive, we can manually change color values, or use predefined color schemes, but is it possible to create a color scheme that can be saved and reused in the future? Answer Custom color screens can be created by Digital Hive ...