Commit c1b496b7 by Julia Hansbrough

Changed logging message to yield more information

parent d6cf8b68
......@@ -167,9 +167,6 @@ def jail_code(command, code=None, files=None, argv=None, stdin=None,
os.mkdir(tmptmp)
os.chmod(tmptmp, 0777)
if slug:
log.debug("Executing jailed code %s in %s", slug, homedir)
argv = argv or []
# All the supporting files are copied into our directory.
......@@ -211,6 +208,9 @@ def jail_code(command, code=None, files=None, argv=None, stdin=None,
stdout=subprocess.PIPE, stderr=subprocess.PIPE,
)
if slug:
log.debug("Executing jailed code %s in %s, with PID %s", slug, homedir, subproc.id)
# Start the time killer thread.
realtime = LIMITS["REALTIME"]
if realtime:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment