disable

disable — renders a log or group inactive.

Syntax

(disable label [label ...])
    

Arguments

label

A log or group command label.

Returns

On success, t, otherwise one of the following error messages:

(error "textlog: Group or log label does not exist")
(error "textlog: Too few arguments to disable: # < #")
(error "textlog: Invalid command: disable")

or, if none of the above errors apply, nil.

Description

The disable command lets you inactivate any number of logs or groups.

This command corresponds to the Cogent C API function LG_Disable.

See Also

log, enable

Example

logger> (disable max_ht fill)
t
logger>