From: Jeremy Stanley Date: Sun, 1 Sep 2019 21:35:00 +0000 (+0000) Subject: Log starting directory during initialization X-Git-Tag: 0.0.2~1 X-Git-Url: https://mudpy.org/gitweb?a=commitdiff_plain;h=9e752a06cae971045047583823f3ca9a667c0d44;p=mudpy.git 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. --- 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