Jump to content
Server Maintenance This Week. ×

Log All Syncs by Users


This topic is 1673 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Hi

For reasons of accountability, Supervisors want to view a table of syncs undertaken by employees.

What is the best way to record a log of each time each user syncs (preferably recording the version of the database they are using) so thit can be presented to Supervisors?

Thanks,

ft.

Link to comment
Share on other sites

Hi fishtech,

In the MirrorSync table, there are fields called lastSuccessfulTimestamp, databaseVersion, and lastUsername or (get(AccountName)) that you can use to track those metrics. If you create a script that performs the MirrorSync script, and tracks the last values for those fields on a successful sync, you can keep a record of those in a separate table.

Link to comment
Share on other sites

  • 3 months later...

So to clarify the process would be...

 

1. Create a new Log Table to track meta data of  the syncs

2. Using the didSync section of the customization script ON EACH SPOKE to script a 'new record' in the Log Table and populate using the meta data fields/values mentioned above.

3. Sync Log Table to the server

 

Do I have this correct? If so the data on the server will always be 1 sync behind, but I guess this is acceptable.

Or is there a way to get the Log data directly into a table on the server?


Thanks,

ft.

Edited by fishtech
Link to comment
Share on other sites

This topic is 1673 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.