-
I'd like to debug rules and verify that a client has retrieved the rules we expect from a sync server. What's the best way to inspect which rules santa has cached locally? What I've tried:
|
Beta Was this translation helpful? Give feedback.
Answered by
mlw
Dec 21, 2023
Replies: 2 comments
-
To debug, you can read the rules database. But note the file is locked if Santa is running. If that's the case you can simply copy it elsewhere first.
|
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
lid
-
Awesome, thanks! As a 1-liner to dump the rules and ignore database lock:
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
To debug, you can read the rules database. But note the file is locked if Santa is running. If that's the case you can simply copy it elsewhere first.