nostr/build/tasks/main.yaml
changeset 240 e3ccc65cecc9
parent 224 25e44d8440d4
--- a/nostr/build/tasks/main.yaml	Mon Oct 07 23:31:51 2024 -0500
+++ b/nostr/build/tasks/main.yaml	Fri Jan 03 19:36:28 2025 -0600
@@ -40,6 +40,16 @@
     - {"k": "Contact:", "v": "{{relayer_admin_contact}}"}
     - {"k": "Version:", "v": "{{relayer_version}}"}
 
+# disable logging of pings
+- name: relayer disable ping logging
+  lineinfile:
+    path: "{{relayer_handler_src}}"
+    regexp: "^(\\s*)(s\\.Log\\.Infof\\(\"pinging.*)$"
+    line: "\\1//\\2"
+    backrefs: yes
+  loop:
+    - {""}
+
 - name: check if relayer build exists
   stat:
     path: "{{relayer_build_dir}}/examples/whitelisted/whitelisted"