aboutsummaryrefslogtreecommitdiff
path: root/gmid.1
diff options
context:
space:
mode:
authorAnna “CyberTailor” <cyber@sysrq.in>2021-07-29 09:13:43 +0500
committerOmar Polo <op@omarpolo.com>2021-07-29 09:31:09 +0200
commite58a447a28a416ee719a9e457bfc8160a9b0e771 (patch)
treec1fe9c9492c40cf396e73ec1656ef3e2f378fe1f /gmid.1
parent2887c631eed2e8f3fc64e454a8a036bc34e24742 (diff)
gmid.1: document logging
Diffstat (limited to 'gmid.1')
-rw-r--r--gmid.129
1 files changed, 28 insertions, 1 deletions
diff --git a/gmid.1 b/gmid.1
index 71bf292..726b0cb 100644
--- a/gmid.1
+++ b/gmid.1
@@ -11,7 +11,7 @@
.\" WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-.Dd $Mdocdate: January 30 2021$
+.Dd $Mdocdate: July 29 2021$
.Dt GMID 1
.Os
.Sh NAME
@@ -598,6 +598,33 @@ text/plain
.It xml
text/xml
.El
+.Sh LOGGING
+Messages and requests are logged by
+.Xr syslog 3
+using the
+.Dv DAEMON
+facility or printed on
+.Em stderr .
+.Pp
+Requests are logged with the
+.Dv NOTICE
+severity.
+Each request log entry has the following fields, separated by
+whitespace:
+.Pp
+.Bl -bullet -compact
+.It
+Client IP address and the source port number, separated by a colon
+.It
+.Sy GET
+keyword
+.It
+Request URL
+.It
+Response status
+.It
+Response meta
+.El
.Sh EXAMPLES
Serve the current directory
.Bd -literal -offset indent