UPDATE:
Replying to my own reply here.
This is to acknowledge that Heiko has indeed posted the post (link pasted in below) regarding command line policy install in R80.x.
It is also mentioned above, in this thread. Thanks Nick 🙂
The procedure is 'one extra line' before the old version style command for CLI policy installation (fwm load) and that will then also allow for us to run it in debug mode (fwm load -d) on the CLI.
The 'one extra line':
export INTERNAL_POLICY_LOADING=1
to be followed by (non-debug, which includes about a dozen lines of output):
fwm load <policy-name> <gateway/cluster-name>
The debug version (fwm load -d) gives us over 15,000 lines of output, which is great, but the question is - does that debug the whole procedure of policy install on the SMS?
For example, does that cover the CPM involvment (cpm debug) in the policy install (the DB dump part), in case that is relevant, without invoking the cpm_debug.sh debug script
I am sure TAC and R&D have procedures.
I am asking for clarity regarding the recommended debug procedure for policy installation (if an official recommendation is possible) and out of curiosity.
I can't give a use case. I just know that in the past and fwm load -d has given enough info to help out with diagnostics on site.
https://community.checkpoint.com/t5/Policy-Management/R80-x-Debug-policy-installation-on-gateway/m-p...