.TH sasl 7 "sasl 2.2.1" "Ericsson AB" "Erlang Application Definition" .SH NAME sasl \- The SASL Application .SH DESCRIPTION .LP This section describes the SASL (System Architecture Support Libraries) application which provides the following services: .RS 2 .TP 2 * \fIalarm_handler\fR\& .LP .TP 2 * \fIoverload\fR\& .LP .TP 2 * \fIrb\fR\& .LP .TP 2 * \fIrelease_handler\fR\& .LP .TP 2 * \fIsystools\fR\& .LP .RE .LP The SASL application also includes \fIerror_logger\fR\& event handlers for formatting SASL error and crash reports\&. .LP .RS -4 .B Note: .RE The SASL application in OTP has nothing to do with "Simple Authentication and Security Layer" (RFC 4422)\&. .SH "ERROR LOGGER EVENT HANDLERS" .LP The following error logger event handlers are defined in the SASL application\&. .RS 2 .TP 2 .B \fIsasl_report_tty_h\fR\&: Formats and writes \fIsupervisor reports\fR\&, \fIcrash reports\fR\& and \fIprogress reports\fR\& to \fIstdio\fR\&\&. .TP 2 .B \fIsasl_report_file_h\fR\&: Formats and writes \fIsupervisor reports\fR\&, \fIcrash report\fR\& and \fIprogress report\fR\& to a single file\&. .TP 2 .B \fIerror_logger_mf_h\fR\&: This error logger writes \fIall\fR\& events sent to the error logger to disk\&. It installs the \fIlog_mf_h\fR\& event handler in the \fIerror_logger\fR\& process\&. .RS 2 .LP To activate this event handler, the following three sasl configuration parameters must be set: \fIerror_logger_mf_dir\fR\&, \fIerror_logger_mf_maxbytes\fR\& and \fIerror_logger_mf_maxfiles\fR\&\&. See below for more information about the configuration parameters\&. .RE .RE .SH "CONFIGURATION" .LP The following configuration parameters are defined for the SASL application\&. See \fIapp(5)\fR\& for more information about configuration parameters: .RS 2 .TP 2 .B \fIsasl_error_logger = Value \fR\&: \fIValue\fR\& is one of: .RS 2 .TP 2 .B \fItty\fR\&: Installs \fIsasl_report_tty_h\fR\& in the error logger\&. This is the default option\&. .TP 2 .B \fI{file,FileName}\fR\&: Installs \fIsasl_report_file_h\fR\& in the error logger\&. This makes all reports go to the file \fIFileName\fR\&\&. \fIFileName\fR\& is a string\&. .TP 2 .B \fIfalse\fR\&: No SASL error logger handler is installed\&. .RE .TP 2 .B \fIerrlog_type = error | progress | all \fR\&: Restricts the error logging performed by the specified \fIsasl_error_logger\fR\& to error reports, progress reports, or both\&. Default is \fIall\fR\&\&. .TP 2 .B \fIerror_logger_mf_dir = string() | false\fR\&: Specifies in which directory the files are stored\&. If this parameter is undefined or \fIfalse\fR\&, the \fIerror_logger_mf_h\fR\& is not installed\&. .TP 2 .B \fIerror_logger_mf_maxbytes = integer() \fR\&: Specifies how large each individual file can be\&. If this parameter is undefined, the \fIerror_logger_mf_h\fR\& is not installed\&. .TP 2 .B \fIerror_logger_mf_maxfiles = 0\fR\&: Specifies how many files are used\&. If this parameter is undefined, the \fIerror_logger_mf_h\fR\& is not installed\&. .TP 2 .B \fIoverload_max_intensity = float() > 0 \fR\&: Specifies the maximum intensity for \fIoverload\fR\&\&. Default is \fI0\&.8\fR\&\&. .TP 2 .B \fIoverload_weight = float() > 0 \fR\&: Specifies the \fIoverload\fR\& weight\&. Default is \fI0\&.1\fR\&\&. .TP 2 .B \fIstart_prg = string() \fR\&: Specifies which program should be used when restarting the system\&. Default is \fI$OTP_ROOT/bin/start\fR\&\&. .TP 2 .B \fImasters = [atom()] \fR\&: Specifies which nodes this node uses to read/write release information\&. This parameter is ignored if the \fIclient_directory\fR\& parameter is not set\&. .TP 2 .B \fIclient_directory = string() \fR\&: This parameter specifies the client directory at the master nodes\&. Refer to Release Handling in \fIOTP Design Principles\fR\& for more information\&. This parameter is ignored if the \fImasters\fR\& parameter is not set\&. .TP 2 .B \fIstatic_emulator = true | false \fR\&: Indicates if the Erlang emulator is statically installed\&. A node with a static emulator cannot switch dynamically to a new emulator as the executable files are written into memory statically\&. This parameter is ignored if the \fImasters\fR\& and \fIclient_directory\fR\& parameters are not set\&. .TP 2 .B \fIreleases_dir = string() \fR\&: Indicates where the \fIreleases\fR\& directory is located\&. The release handler writes all its files to this directory\&. If this parameter is not set, the OS environment parameter \fIRELDIR\fR\& is used\&. By default, this is \fI$OTP_ROOT/releases\fR\&\&. .TP 2 .B \fIutc_log = true | false \fR\&: If set to \fItrue\fR\&, all dates in textual log outputs are displayed in Universal Coordinated Time with the string \fIUTC\fR\& appended\&. .RE .SH "SEE ALSO" .LP \fBalarm_handler(3erl)\fR\&, error_logger(3erl), log_mf_h(3erl), \fBoverload(3erl)\fR\&, \fBrb(3erl)\fR\&, \fBrelease_handler(3erl)\fR\&, \fBsystools(3erl)\fR\&