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