dashpay / dash-network-deploy

Tools for Dash networks deployment and testing
MIT License
21 stars 19 forks source link

Feat: Change in Tenderdash Role to investigate the chain halt issue. #641

Closed vivekgsharma closed 2 months ago

vivekgsharma commented 6 months ago

Issue Being Fixed or Feature Implemented

  1. Configured log rotation for Tenderdash logs
  2. Added a Logstash filter to exclude TRACE logs from processing to optimize log
  3. Updated the tenderdash_log_level to "trace" in the Ansible variables

Changes Made

How Has This Been Tested?

Breaking Changes

No breaking changes introduced.

Checklist:

vivekgsharma commented 6 months ago

Test is failing due to Risky file permission due to this line create 0640 tenderdash adm in the new added task , this permission might be necessary to access the log files. I can ignore this check after the review adding ignore lines in .ansible-lint

ktechmidas commented 6 months ago

@vivekgsharma what is adm? can't it use 600?

vivekgsharma commented 6 months ago

@vivekgsharma what is adm? can't it use 600?

adm is a system group, members of this group can read logs in various directories (/var/log). We can try 600

Reference for using 0640 https://serverfault.com/questions/694707/what-should-be-the-right-logs-permissions-for-nginx-on-centos

vivekgsharma commented 6 months ago

@ktechmidas changed to 0644 because most of the tasks are using this mode in the current setup. Ansible-lint checks have passed

ktechmidas commented 2 months ago

Closed - role no longer in use