Commit 2f0ab71a authored by Guido van Rossum's avatar Guido van Rossum

Support the 'logtail' command in zdctl. Also some changes to the

'show' command.
parent 4f778915
......@@ -20,7 +20,7 @@ Given an "instance home directory" <home> and some configuration
options (all of which have default values), create the following:
<home>/etc/zeo.conf -- ZEO config file
<home>/etc/runner.conf -- zdctl config file
<home>/etc/runner.conf -- zdctl+zdrun config file
<home>/var/ -- Directory for data files: Data.fs etc.
<home>/log/ -- Directory for log files: zeo.log and runner.log
<home>/bin/zeoctl -- start/stop script (a shim for zdctl.py)
......@@ -79,6 +79,9 @@ runner_conf_template = """# runner configuration file
# user zope
python %(python)s
zdrun %(zdrun)s
# This logfile should match the one in the %(package)s.conf file.
# It is used by zdctl's logtail command, zdrun/zdctl doesn't write it.
logfile %(home)s/log/%(package)s.log
</runner>
<eventlog>
......
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