We proceed to create a security module to use the log.

1 - Follow this tutorial to create a security module: <https://www.scriptcase.net/docs/en_us/v9/manual/10-modules/02-security-module/>

2 - Proceed with the log in the top menu option **Module > Log > Create/Edit Module**.

![](http://34.207.224.239:3000/rails/active_storage/blobs/redirect/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBBbVJPIiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--2765d17aa2d7a0e06125d545383aecd31ba4bb93/image.png)

3 - It will show us the following window

![](http://34.207.224.239:3000/rails/active_storage/blobs/redirect/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBBbVZPIiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--832ba537bd0f1cc02944e06eecc579eb6522381a/image%20(1).png)

4- We save the changes

* We can edit the connection where the log table will be created, or the events that will be registered, etc.

* We can verify here that a log table is created

  ![](http://34.207.224.239:3000/rails/active_storage/blobs/redirect/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBBbVpPIiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--180688f40204f57a2206a5148a292c68ad1279cd/image%20(2).png)

  We can also see other types of events such as insert a form.

  ![](http://34.207.224.239:3000/rails/active_storage/blobs/redirect/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBBbWRPIiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--b4a2f3d3a589ad537d8d13ccdee735c45795c1bc/image.png)


