enable

enable — activates a log or group.

Syntax

(enable 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 enable: # < #")
(error "textlog: Invalid command: enable")

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

Description

The enable command lets you reactivate a disabled log or group. A log or group is automatically enabled when the log or group command is first given.

This command corresponds to the Cogent C API function LG_Enable.

See Also

log, disable

Example

logger> (enable max_ht fill)
t
logger>