Version updates and fixed excessive logging on web server. default tip
authorLuke Hoersten <luke@hoersten.org>
Fri, 03 Jan 2025 19:36:28 -0600
changeset 240 e3ccc65cecc9
parent 239 c3e3169399a8
Version updates and fixed excessive logging on web server.
ergo/templates/config.yaml.j2
mercurial/web/templates/hgweb.ini.j2
minecraft/server/defaults/main.yaml
miniflux/defaults/main.yaml
nodejs/defaults/main.yaml
nostr/build/tasks/main.yaml
pleroma/otp/templates/config.exs.j2
--- a/ergo/templates/config.yaml.j2	Mon Oct 07 23:31:51 2024 -0500
+++ b/ergo/templates/config.yaml.j2	Fri Jan 03 19:36:28 2025 -0600
@@ -658,7 +658,7 @@
         type: "* -userinput -useroutput"
 
         # one of: debug info warn error
-        level: info
+        level: error
     #-
     #   # example of a file log that avoids logging IP addresses
     #   method: file
--- a/mercurial/web/templates/hgweb.ini.j2	Mon Oct 07 23:31:51 2024 -0500
+++ b/mercurial/web/templates/hgweb.ini.j2	Fri Jan 03 19:36:28 2025 -0600
@@ -7,3 +7,5 @@
 chdir = {{mercurial_uwsgi_root}}
 wsgi-file = hgweb.wsgi
 plugins = python3
+
+disable-logging = true
--- a/minecraft/server/defaults/main.yaml	Mon Oct 07 23:31:51 2024 -0500
+++ b/minecraft/server/defaults/main.yaml	Fri Jan 03 19:36:28 2025 -0600
@@ -10,12 +10,12 @@
 minecraft_view_distance: "10"
 minecraft_world_name: "world"
 minecraft_dir: "{{minecraft_parent_dir}}/minecraft/{{minecraft_world_name}}"
-minecraft_url: "https://papermc.io/api/v2/projects/paper/versions/{{minecraft_paper_version}}/builds/{{minecraft_paper_build}}/downloads/paper-{{minecraft_paper_version}}-{{minecraft_paper_build}}.jar"
+minecraft_url: "https://api.papermc.io/v2/projects/paper/versions/{{minecraft_paper_version}}/builds/{{minecraft_paper_build}}/downloads/paper-{{minecraft_paper_version}}-{{minecraft_paper_build}}.jar"
 
 # https://papermc.io/downloads/paper
 # paper is a spigot derivative
-minecraft_paper_version: "1.21.1"
-minecraft_paper_build: "115"
+minecraft_paper_version: "1.21.3"
+minecraft_paper_build: "82"
 
 minecreat_plugins_enabled:
   - "dynmap"
--- a/miniflux/defaults/main.yaml	Mon Oct 07 23:31:51 2024 -0500
+++ b/miniflux/defaults/main.yaml	Fri Jan 03 19:36:28 2025 -0600
@@ -4,5 +4,5 @@
 miniflux_admin_pass: "admin"
 miniflux_arch: "arm64"
 # https://github.com/miniflux/miniflux/releases
-miniflux_version: "2.2.1"
+miniflux_version: "2.2.3"
 miniflux_url: "https://github.com/miniflux/miniflux/releases/download/{{miniflux_version}}/miniflux-linux-{{miniflux_arch}}"
--- a/nodejs/defaults/main.yaml	Mon Oct 07 23:31:51 2024 -0500
+++ b/nodejs/defaults/main.yaml	Fri Jan 03 19:36:28 2025 -0600
@@ -1,6 +1,7 @@
 ---
 
-nodejs_version: "v20.11.0"
+# https://nodejs.org/en/download/prebuilt-binaries
+nodejs_version: "v22.12.0"
 nodejs_arch: "{{ansible_architecture}}"
 nodejs_dir: "node-{{nodejs_version}}-{{ansible_system | lower}}-{{nodejs_arch}}"
 nodejs_src: "https://nodejs.org/dist/{{nodejs_version}}/{{nodejs_dir}}.tar.xz"
--- 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"
--- a/pleroma/otp/templates/config.exs.j2	Mon Oct 07 23:31:51 2024 -0500
+++ b/pleroma/otp/templates/config.exs.j2	Fri Jan 03 19:36:28 2025 -0600
@@ -59,4 +59,4 @@
   backends: [{ExSyslogger, :ex_syslogger}]
 
 config :logger, :ex_syslogger,
-  level: :warn
+  level: :critical