<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>Answers to: Store log file content additional in the database</title><link>https://answers.axonivy.com/questions/3977/store-log-file-content-additional-in-the-database</link><description>&lt;p&gt;A customer wants to store the log informations additional to a database.
This should be possible with log4j - do you have any inputs to this?&lt;/p&gt;
&lt;p&gt;Best regards, Sven&lt;/p&gt;</description><atom:link href="https://answers.axonivy.com/questions/3977/store-log-file-content-additional-in-the-database" rel="self"></atom:link><language>en</language><lastBuildDate>Tue, 17 Sep 2019 07:26:18 -0400</lastBuildDate><item><title>Comment by skilchenmann on SupportIvyTeam's answer</title><link>https://answers.axonivy.com/questions/3977/store-log-file-content-additional-in-the-database#3981</link><description>&lt;p&gt;So would you update log4j within version 8?&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">skilchenmann</dc:creator><pubDate>Tue, 17 Sep 2019 07:26:18 -0400</pubDate><guid>https://answers.axonivy.com/questions/3977/store-log-file-content-additional-in-the-database#3981</guid></item><item><title>Answer by SupportIvyTeam</title><link>https://answers.axonivy.com/questions/3977/store-log-file-content-additional-in-the-database/3980</link><description>&lt;p&gt;This is possible but as we have an old Lof4j I would not do it directly with the logger, because this would really slow down your system.
In my opinion it is anyway better just to use the log file as interface and put it form there to the database.
The best tools out there is may be Logstash with Filebeat and Elasticsearch, see:
&lt;a href="https://www.elastic.co/guide/en/logstash/current/advanced-pipeline.html"&gt;https://www.elastic.co/guide/en/logstash/current/advanced-pipeline.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Sadly we have not a running example for that now, if someone has, please share it with us and we could do a docker example with Ivy, Logstash, Filebeat and Elasticsearch. See other examples on &lt;a href="https://github.com/ivy-samples/docker-samples"&gt;guthub&lt;/a&gt;.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">SupportIvyTeam</dc:creator><pubDate>Tue, 17 Sep 2019 05:07:29 -0400</pubDate><guid>https://answers.axonivy.com/questions/3977/store-log-file-content-additional-in-the-database/3980</guid></item></channel></rss>