Paper fork polish: isolate logs and deploy docs

- Use /var/log/mc_aigod_paper.log and _paper_responses.log
- Keep paper service logs separate from vanilla service
- Include paper config/service/runtime docs in fork
This commit is contained in:
2026-03-15 23:29:08 -04:00
parent 34697b5341
commit d2c302b48e
+2 -2
View File
@@ -16,7 +16,7 @@ logging.basicConfig(
format='%(asctime)s [aigod] %(levelname)s: %(message)s',
handlers=[
logging.StreamHandler(),
logging.FileHandler('/var/log/mc_aigod.log'),
logging.FileHandler('/var/log/mc_aigod_paper.log'),
]
)
log = logging.getLogger(__name__)
@@ -843,7 +843,7 @@ def ask_god(player, prayer, context, config):
message = ""
try:
with open('/var/log/mc_aigod_responses.log', 'a') as rf:
with open('/var/log/mc_aigod_paper_responses.log', 'a') as rf:
rf.write(
f"\n--- {time.strftime('%Y-%m-%d %H:%M:%S')} prayer:{player} ---\n"
f"COMMANDS: {commands}\n"