X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=doc%2Fyaz-proxy-ref.xml;h=252ed1ddc822f8cdfdc5f592102eaa4c651e7e39;hb=4ffb5c5f0c0c64799a89f7961fd553ae8ae4854b;hp=776f28aee69b884ea8549d246158374aa154a224;hpb=21a225e7679ccbdd471508cacebb30592e7f5ad9;p=yazpp-moved-to-github.git diff --git a/doc/yaz-proxy-ref.xml b/doc/yaz-proxy-ref.xml index 776f28a..252ed1d 100644 --- a/doc/yaz-proxy-ref.xml +++ b/doc/yaz-proxy-ref.xml @@ -10,13 +10,16 @@ yaz-proxy -a filename + -l filename -m num -v level -t target - -u auth + -U auth -o level -i seconds -T seconds + -p pidfile + -u userid -c config host:port @@ -40,7 +43,7 @@ yaz-proxy rereads its configuration file and - reopens log files when it receivies the hangup signal, SIGHUP. + reopens log files when it receives the hangup signal, SIGHUP. OPTIONS @@ -53,6 +56,14 @@ standard output. + -l filename + + Specifies the name of a file to which to write a log of the + YAZ proxy activity. This uses the logging facility as provided + by the YAZ toolkit. If this options is omitted, the output + directed to stderr. + + -m num Specifies the maximum number of connections to be cached @@ -61,7 +72,7 @@ -v level - Sets the logging level. level is + Sets the logging level. level is a comma-separated list of members of the set {fatal,debug,warn,log,malloc,all,none}. @@ -73,7 +84,7 @@ initRequest. - -u auth + -U auth Specifies authentication info to be sent to the backend target. This is useful if you happen to have an internal target that @@ -101,7 +112,22 @@ Specifies in seconds the idle time for communication between proxy and backend target. If a connection is inactive for this long - it willl be closed. Default: 600 seconds (10 minutes). + it will be closed. Default: 600 seconds (10 minutes). + + + -p pidfile + + When specified, yaz-proxy will create pidfile + with the process ID of the proxy. The pidfile will be generated + before the process changes identity (see option -u). + + + -u userid + + When specified, yaz-proxy will change identity to the user ID + specified, just after the proxy has started listening to a + possibly privileged port and after the PID file has been created + if specified by option -u. -c config