diff options
author | Siri Hansen <[email protected]> | 2018-05-17 18:19:57 +0200 |
---|---|---|
committer | Siri Hansen <[email protected]> | 2018-05-23 11:10:55 +0200 |
commit | a9a6b803a60793d42a74e0f1693a7594dffb6bc3 (patch) | |
tree | 4e70433732de9c0dee413678a8ce1d61b22941a0 /lib/sasl/doc/src/sasl_app.xml | |
parent | 8aa64c90ddd20ec0ca8cc5fe92a6124324c51da5 (diff) | |
download | otp-a9a6b803a60793d42a74e0f1693a7594dffb6bc3.tar.gz otp-a9a6b803a60793d42a74e0f1693a7594dffb6bc3.tar.bz2 otp-a9a6b803a60793d42a74e0f1693a7594dffb6bc3.zip |
Improve documentation of logger and error_logger
Diffstat (limited to 'lib/sasl/doc/src/sasl_app.xml')
-rw-r--r-- | lib/sasl/doc/src/sasl_app.xml | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/lib/sasl/doc/src/sasl_app.xml b/lib/sasl/doc/src/sasl_app.xml index 26b9bece2a..eb1e87d9a3 100644 --- a/lib/sasl/doc/src/sasl_app.xml +++ b/lib/sasl/doc/src/sasl_app.xml @@ -90,20 +90,22 @@ </section> <section> + <marker id="deprecated_error_logger_config"/> <title>Deprecated Error Logger Event Handlers and Configuration</title> <p>In OTP-21, a new API for logging was added to Erlang/OTP. The old <c>error_logger</c> event manager, and event handlers running on this manager, will still work, but they are not used by default.</p> <p>The error logger event handlers <c>sasl_report_tty_h</c> - and <c>sasl_report_file_h</c>, were earliger used for printing + and <c>sasl_report_file_h</c>, were earlier used for printing the so called SASL reports, i.e. <em>supervisor reports</em>, <em>crash reports</em>, and <em>progress - reports</em>. These reports are now also printed by the standard + reports</em>. These reports are now also printed by the default logger handler started by the Kernel application. Progress reports are by default stopped by a filter, but can easily be added by setting the Kernel configuration - parameter <seealso marker="kernel:kernel_app#logger_log_progress"><c>logger_log_progress=true</c></seealso>.</p> + parameter <seealso marker="kernel:kernel_app#logger_log_progress"> + <c>logger_log_progress=true</c></seealso>.</p> <p>If the old error logger event handlers are still desired, they must be added by calling <c>error_logger:add_report_handler/1,2</c>.</p> @@ -218,6 +220,7 @@ <title>See Also</title> <p><seealso marker="alarm_handler"><c>alarm_handler(3)</c></seealso>, <seealso marker="kernel:error_logger"><c>error_logger(3)</c></seealso>, + <seealso marker="kernel:logger"><c>logger(3)</c></seealso>, <seealso marker="stdlib:log_mf_h"><c>log_mf_h(3)</c></seealso>, <seealso marker="rb"><c>rb(3)</c></seealso>, <seealso marker="release_handler"><c>release_handler(3)</c></seealso>, |