From 9e752a06cae971045047583823f3ca9a667c0d44 Mon Sep 17 00:00:00 2001 From: Jeremy Stanley Date: Sun, 1 Sep 2019 21:35:00 +0000 Subject: [PATCH] Log starting directory during initialization Update the initialization logging to also include the starting directory, since some of the startup routines form their file paths relative to it. --- mudpy/misc.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/mudpy/misc.py b/mudpy/misc.py index 1b2be37..b83215c 100644 --- a/mudpy/misc.py +++ b/mudpy/misc.py @@ -2078,8 +2078,9 @@ def setup(): log("Import path: %s" % ", ".join(sys.path), 1) log("Installed dependencies: %s" % universe.versions.dependencies_text, 1) log("Other python packages: %s" % universe.versions.environment_text, 1) - log("Started %s with command line: %s" % ( - universe.versions.version, " ".join(sys.argv)), 1) + log("Running version: %s" % universe.versions.version, 1) + log("Initial directory: %s" % universe.startdir, 1) + log("Command line: %s" % " ".join(sys.argv), 1) # pass the initialized universe back return universe -- 2.11.0