Commit 0d453b0e authored by Andreas Gustafsson's avatar Andreas Gustafsson
Browse files

'versions' and 'size' are not log channel clauses

parent 145faf87
......@@ -15,7 +15,7 @@
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: parser.c,v 1.39 2001/03/03 00:52:39 gson Exp $ */
/* $Id: parser.c,v 1.40 2001/03/03 01:08:02 gson Exp $ */
#include <config.h>
......@@ -1034,17 +1034,14 @@ static cfg_clausedef_t
channel_clauses[] = {
/* Destinations. We no longer require these to be first. */
{ "file", &cfg_type_logfile, 0 },
{ "syslog", &cfg_type_optional_facility, 0 }, /* XXX enum? */
{ "syslog", &cfg_type_optional_facility, 0 },
{ "null", &cfg_type_void, 0 },
{ "stderr", &cfg_type_void, 0 },
/* Options. We now accept these for the null channel, too. */
{ "severity", &cfg_type_logseverity, 0 }, /* XXX enum? */
{ "severity", &cfg_type_logseverity, 0 },
{ "print-time", &cfg_type_boolean, 0 },
{ "print-severity", &cfg_type_boolean, 0 },
{ "print-category", &cfg_type_boolean, 0 },
/* File options. */
{ "versions", &cfg_type_ustring, 0 }, /* integer or "unlimited" */
{ "size", &cfg_type_size, 0 },
{ NULL, NULL, 0 }
};
static cfg_clausedef_t *
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment