Debugging and Logging#
Generate Verbose Logs#
When you start install Privacera, only the Ansible task names get displayed on the terminal. If you want to view the underlying details of a task, do the following;
-
Open
ansible.cfg
.vi ~/privacera/privacera-manager/config/ansible.cfg
-
Change
verbosity
to1
. You can change theverbosity
value from1
to5
.verbosity = 1
-
Uncomment
stdout_callback
to display the output on the terminal.stdout_callback = minimal
View Installation Logs#
After the installation is completed, the logs get stored at the location, logs/pm/
with the filename as pm_run_<date_and_time>.log
. Also, logs are generated when an installation is aborted.
To list all the generated logs, run the following command:
ls logs/pm/
To view a generated log, run the following command:
vi logs/pm/pm_run_<date_and_time>.log