From c5aef90c46282c06e41251f22c9cb7056a52d0e7 Mon Sep 17 00:00:00 2001
From: Ghoulboy <ghoulboy27@gmail.com>
Date: Sat, 15 Apr 2023 12:10:19 +0200
Subject: [PATCH 1/2] Add notes to warning logs

Cos otherwise reading through logs can be a bit confusing if you don't know what you're looking for
---
 programs/utilities/keepalive.sc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/programs/utilities/keepalive.sc b/programs/utilities/keepalive.sc
index 4fa35b21..6a0ef6b0 100644
--- a/programs/utilities/keepalive.sc
+++ b/programs/utilities/keepalive.sc
@@ -11,7 +11,7 @@ __on_server_starts() -> (
          for([str('player %s spawn at %f %f %f facing %f %f in %s',
                   _:'name', _:'x', _:'y', _:'z', _:'yaw', _:'pitch', _:'dim'),
               str('gamemode %s %s', _:'gm', _:'name')],
-            logger('warn', _);
+            logger('warn', '[keepalive.sc] ' + _);
             run(_);
          );
          modify(player(_:'name'), 'flying', _:'fly')

From 04f037c3b6fe7ba2323f4ef9f6f657d7d5a1ad9f Mon Sep 17 00:00:00 2001
From: Ghoulboy <ghoulboy27@gmail.com>
Date: Thu, 11 May 2023 22:01:08 +0200
Subject: [PATCH 2/2] Update keepalive.sc

---
 programs/utilities/keepalive.sc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/programs/utilities/keepalive.sc b/programs/utilities/keepalive.sc
index 6a0ef6b0..091238f7 100644
--- a/programs/utilities/keepalive.sc
+++ b/programs/utilities/keepalive.sc
@@ -37,5 +37,5 @@ __on_server_shuts_down() -> (
       saved += _~'name';
    );
    store_app_data(data);
-   if (saved, logger('warn', 'saved '+saved+' for next startup'));
+   if (saved, logger('warn', '[keepalive.sc] saved '+saved+' for next startup'));
 );