Variable: erc-log-channels-directory

erc-log-channels-directory is a customizable variable defined in erc-log.el.gz.

Value

"~/log"

Documentation

The directory to place log files for channels.

Leave blank to disable logging. If not nil, all the channel buffers are logged in separate files in that directory. The directory should not end with a trailing slash.

If this is the name of a function, the function will be called with the buffer, target, nick, server, and port arguments. See erc-generate-log-file-name-function for a description of these arguments.

Source Code

;; Defined in /usr/src/emacs/lisp/erc/erc-log.el.gz
(defcustom erc-log-channels-directory "~/log"
  "The directory to place log files for channels.
Leave blank to disable logging.  If not nil, all the channel
buffers are logged in separate files in that directory.  The
directory should not end with a trailing slash.

If this is the name of a function, the function will be called
with the buffer, target, nick, server, and port arguments.  See
`erc-generate-log-file-name-function' for a description of these
arguments."
  :type '(choice directory
		 (function "Function")
		 (const :tag "Disable logging" nil)))