Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revisionBoth sides next revision
admin:the_log [2018/10/03 01:44] – [Custom query] markadmin:the_log [2023/01/24 09:23] – [Custom query] Gary Willetts
Line 1: Line 1:
-{{indexmenu_n>140}} +{{indexmenu_n>196}} 
-=====The log =====+====== 25.19. The system log ======
 The log contains records of who did what and when in the system. It's a useful place to look to find out what happened to certain records and when certain things were done. Some events (lots!) are always logged by mSupply but some are optional and are chosen in the //Log// tab of the [[preferences:general#log|General preferences]] page. The log contains records of who did what and when in the system. It's a useful place to look to find out what happened to certain records and when certain things were done. Some events (lots!) are always logged by mSupply but some are optional and are chosen in the //Log// tab of the [[preferences:general#log|General preferences]] page.
  
Line 6: Line 6:
  
 {{ :admin:view_log.png?700 |}} {{ :admin:view_log.png?700 |}}
 +
 +The columns contain this information:
 +  * **Date:** the date when the log entry was made.
 +  * **Time:** the time the log entry was made.
 +  * **User:** the name of the user who did the operation giving rise to the log entry.
 +  * **Type:** the type of log entry. Can be used for filtering or just telling you which part of the system generated the log entry.
 +  * **Event:** a description of the event that occurred.
 +  * **Source table:** the name of the table that contains the affected record (if there is one).
 +  * **Record ID:** if there was one, the ID of the record in the database that was affected by the event.
 +  * **Extra information:** detailed information about what happened in the event in JSON format. Not always provided.
 +  * **Store name:** the name of the store that the event occurred in.
  
 Buttons in the window: Buttons in the window:
Line 28: Line 39:
 {{ :admin:log_ddl_2.jpg }}  {{ :admin:log_ddl_2.jpg }} 
  
-See [[.:tables_fields:foreign_keys|this section]] for a complete description of which events are recorded in the log. 
  
 ==== Custom query ==== ==== Custom query ====
  
-If you are looking for log records that are not in the list of common event types described above, you will need to create a custom query.  For example, to find a report of all the finalized POs:+If you are looking for log records that are not in the list of common event types described above, you will need to create a custom query.  For example, to find a report of all the finalized POs this year:
  
   - Set the date / time period   - Set the date / time period
Line 42: Line 52:
   - Once you are happy with the included results, click on **Print** (or **Export** to produce a text file that can be imported to Excel and manipulated)   - Once you are happy with the included results, click on **Print** (or **Export** to produce a text file that can be imported to Excel and manipulated)
  
-{{ :admin:2018-10-03_10_38_15_log_query.png |}}+{{ :admin:2018-10-03_10_38_15_log_query.png?650 |}} 
  
 +\\
 +\\
 +|  //  Previous:  **[[admin:printer_installation]]** | | Next: **[[admin:server_troubleshooting]]** //  |
  
-// Previous: [[admin:printer_installation|Printer Installation]]     Next: [[admin:server_troubleshooting|Server Troubleshooting]]// 
 ---- struct data ---- ---- struct data ----
 +pagestatus.status    : 
 ---- ----
  
  • Last modified: 2023/01/24 09:53
  • by Gary Willetts