summaryrefslogtreecommitdiffstats
path: root/git-daemon.txt
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2018-02-28 15:40:27 -0800
committerJunio C Hamano <gitster@pobox.com>2018-02-28 15:40:27 -0800
commit615c3b305d84007474d17c62d54fc18c71fdc587 (patch)
tree3c342628ed177b313bffbdb3250ed18d71046cca /git-daemon.txt
parent90fd88e4a2ddbb1298553bb804788405aa3e984c (diff)
downloadgit-htmldocs-615c3b305d84007474d17c62d54fc18c71fdc587.tar.gz
Autogenerated HTML docs for v2.16.2-345-g7e3123
Diffstat (limited to 'git-daemon.txt')
-rw-r--r--git-daemon.txt28
1 files changed, 25 insertions, 3 deletions
diff --git a/git-daemon.txt b/git-daemon.txt
index 3c91db7be..56d54a489 100644
--- a/git-daemon.txt
+++ b/git-daemon.txt
@@ -20,6 +20,7 @@ SYNOPSIS
[--inetd |
[--listen=<host_or_ipaddr>] [--port=<n>]
[--user=<user> [--group=<group>]]]
+ [--log-destination=(stderr|syslog|none)]
[<directory>...]
DESCRIPTION
@@ -80,7 +81,8 @@ OPTIONS
do not have the 'git-daemon-export-ok' file.
--inetd::
- Have the server run as an inetd service. Implies --syslog.
+ Have the server run as an inetd service. Implies --syslog (may be
+ overridden with `--log-destination=`).
Incompatible with --detach, --port, --listen, --user and --group
options.
@@ -110,8 +112,28 @@ OPTIONS
zero for no limit.
--syslog::
- Log to syslog instead of stderr. Note that this option does not imply
- --verbose, thus by default only error conditions will be logged.
+ Short for `--log-destination=syslog`.
+
+--log-destination=<destination>::
+ Send log messages to the specified destination.
+ Note that this option does not imply --verbose,
+ thus by default only error conditions will be logged.
+ The <destination> must be one of:
++
+--
+stderr::
+ Write to standard error.
+ Note that if `--detach` is specified,
+ the process disconnects from the real standard error,
+ making this destination effectively equivalent to `none`.
+syslog::
+ Write to syslog, using the `git-daemon` identifier.
+none::
+ Disable all logging.
+--
++
+The default destination is `syslog` if `--inetd` or `--detach` is specified,
+otherwise `stderr`.
--user-path::
--user-path=<path>::