Export Event Logs

Ethan Nguyen asked on March 30, 2021 11:15

Hi All,
I will need your advice. I understand the logs will be stored in "Event Log" module, and the info will be truncated once it hits the maximum quotes.
Will it be possible to export the history log into text file (or maybe other places) for the archive before truncating them?

Correct Answer

David te Kloese answered on March 30, 2021 12:01

Is this an incidental based thing? Or periodically want to keep everything?

You can also log event to disk, which is easier to backup separately and won't flood your database.

Check the docs for more info: docs.xperience.io/.../working-with-the-system-event-log

1 votesVote for this answer Unmark Correct answer

Recent Answers


Ethan Nguyen answered on March 31, 2021 09:15

Want to keep everything. Thanks for your information @David te Kloese

0 votesVote for this answer Mark as a Correct answer

Ethan Nguyen answered on March 31, 2021 12:46 (last edited on April 1, 2021 05:23)

Hi All, if enabled Log to filesystem then the system writes the Event log into the CMS\App_Data\logEvents.log file on the server's file system. Can we change the path CMS\App_Data\logEvents.log? Thanks

0 votesVote for this answer Mark as a Correct answer

David te Kloese answered on April 1, 2021 09:43

I don't think you can change that path. I've not seen any setting about it... might want to reach out to support@kentico.com

Also App_Data is probably because there are additional configurations on that 'special' folder. Like performance, not triggering IIS restart, or making sure files are NOT available for live site users to view.

0 votesVote for this answer Mark as a Correct answer

Ethan Nguyen answered on April 2, 2021 04:53

Hi @David te Kloese Thank you for your information It does not support any configuration to change the path. I have tried to customize the event log in Global Event handler to change the path. However, I have still not seen any object to change that path.

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.