Mercurial > hg > mercurial-crew-with-dirclash
diff doc/hg.1.txt @ 605:8e82fd763be2
[PATCH] Get "hg serve" to optionally log accesses and errors to files
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
[PATCH] Get "hg serve" to optionally log accesses and errors to files
From: Bryan O'Sullivan <bos@serpentine.com>
Get "hg serve" to log accesses and errors to files.
manifest hash: 573ef524d84cc7d2777f5fd982f2ef47f4bcf668
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)
iD8DBQFCyMA5ywK+sNU5EO8RAp1eAJoD6Qqy6XcGInzZKdo0Qp7gLttYzACfRywL
fSGapmCAIaZPoBvoxXTk8Zo=
=ZicU
-----END PGP SIGNATURE-----
author | mpm@selenic.com |
---|---|
date | Sun, 03 Jul 2005 20:51:05 -0800 |
parents | c2c2c6d617bd |
children | ea4526f9b1a5 |
line wrap: on
line diff
--- a/doc/hg.1.txt +++ b/doc/hg.1.txt @@ -274,13 +274,18 @@ revert [names ...]:: root:: Print the root directory of the current repository. -serve [-a addr -n name -p port -t templatedir]:: +serve [-a addr -l logfile -n name -p port -t templatedir]:: Start a local HTTP repository browser and pull server. + By default, the server logs accesses to stdout and errors to + stderr. Use the "-A" and "-E" options to log to files. + options: - -a, --address <addr> address to use - -p, --port <n> port to use (default: 8000) - -n, --name <name> name to show in web pages (default: working dir) + -A, --accesslog <file> name of access log file to write to + -E, --errorlog <file> name of error log file to write to + -a, --address <addr> address to use + -p, --port <n> port to use (default: 8000) + -n, --name <name> name to show in web pages (default: working dir) -t, --templatedir <path> web templates to use status::