From bb094e5058f0ee4b22e73b10166d0ca90fab559b Mon Sep 17 00:00:00 2001 From: Florent Le Coz Date: Sun, 8 Dec 2013 20:33:36 +0100 Subject: Document the log_file and log_level configuration options --- doc/biboumi.1 | 12 ++++++++++++ doc/biboumi.md | 10 ++++++++++ 2 files changed, 22 insertions(+) (limited to 'doc') diff --git a/doc/biboumi.1 b/doc/biboumi.1 index 013ab77..3e472c8 100644 --- a/doc/biboumi.1 +++ b/doc/biboumi.1 @@ -36,6 +36,18 @@ The hostname served by the XMPP gateway\. This domain must be configured in th .P The password used to authenticate the XMPP component to your XMPP server\. This password must be configured in the XMPP server, associated with the external component on \fIhostname\fR\. . +.P +\fBlog_file\fR +. +.P +A filename into which logs are written\. If none is provided, the logs are written on standard output +. +.P +\fBlog_level\fR +. +.P +Indicate what type of log messages to write in the logs\. Values can be from 0 to 3\. 0 is debug, 1 is info, 2 is warnig, 3 is error\. +. .SH "USAGE" When started, biboumi connects, without encryption (see \fISECURITY\fR), to the local XMPP server on the port \fB5347\fR and provides the configured password to authenticate\. Biboumi then serves the configured \fBhostname\fR, this means that all XMPP stanza with a \fBto\fR JID on that domain will be sent to biboumi, and biboumi will send only send messages coming from this hostname\. . diff --git a/doc/biboumi.md b/doc/biboumi.md index 355445e..811b5c0 100644 --- a/doc/biboumi.md +++ b/doc/biboumi.md @@ -46,6 +46,16 @@ The configuration file uses a simple format of the form This password must be configured in the XMPP server, associated with the external component on *hostname*. +`log_file` + + A filename into which logs are written. If none is provided, the logs are + written on standard output + +`log_level` + + Indicate what type of log messages to write in the logs. Values can be from 0 to 3. + 0 is debug, 1 is info, 2 is warnig, 3 is error. + USAGE ----- -- cgit v1.2.3