aboutsummaryrefslogtreecommitdiffstats
path: root/lib/kernel/doc/src/kernel_app.xml
AgeCommit message (Collapse)Author
2018-08-07Merge pull request #1872 from sunboshan/patch-1Siri Hansen
Fix kernel_app doc logger_level defaults
2018-07-18kernel: Improve net_ticktime docsSverker Eriksson
2018-07-13Fix kernel_app doc logger_level defaultssunboshan
The doc says the default kernel logger_level is info, it should be notice. ``` % erl Erlang/OTP 21 [erts-10.0.3] [source] [64-bit] [smp:4:4] [ds:4:4:10] [async-threads:1] [hipe] [dtrace] Eshell V10.0.3 (abort with ^G) 1> application:get_env(kernel,logger_level). {ok,notice} ```
2018-06-11[logger] Update documentationSiri Hansen
2018-05-23Update documentation of logger and error_loggerSiri Hansen
2018-05-23Change env var logger_log_progress to logger_progress_reportsSiri Hansen
2018-05-23Change handler id for sasl handler from sasl_h to saslSiri Hansen
2018-05-23Improve documentation of logger and error_loggerSiri Hansen
2018-05-21Fix some link errors in logger documentationSiri Hansen
2018-05-21logger: Rework configuration of loggerLukas Larsson
Most logger configuration that was possible through kernel application variables have been moved into a common 'logger' application environment in kernel. Now all the configuration possible through the logger API can be done as sys config. The handler started by kernel has been renamed to 'default' instead of logger_std_h. There is a new logger:setup_handlers/1 function that given an application name can be used to setup handlers in other applications.
2018-05-09kernel: Remove doc for unused browser_cmd variableLukas Larsson
2018-05-03Update logger documentationSiri Hansen
2018-04-26Remove error_logger process and add logger processSiri Hansen
2018-01-05stdlib: Let filelib:find_source() search subdirsHans Bolinder
The Design Principles states that an application can have Erlang source files one level below the "src" directory, and now filelib:find_source() by default searches one level below "src". The same applies to "esrc". That directory is only mentioned in filename(3).
2017-06-16[stdlib] Open error log file as utf8Siri Hansen
This allows the use of ~ts/~tp/~tw in calls to error_logger:format/2, error_logger:error_msg/2 and error_logger:info_msg/2.
2017-05-23kernel: Add doc link from os man page to signal serviceLukas Larsson
2017-05-17Add persistence to history of the non-legacy shellFred Hebert
This patch adds a mechanism by which shell history gets stored persistently on disk and gets loaded whenever a new shell session begins. The log files are added to the user's cache directory, with multiple files in it, although the location is configurable. All Erlang instances on a given host will share the same log file. There are two hook points in group.erl that are used: when instantiating the buffer, where we fetch from disk, and when adding a line to the buffer (gets stored). This allows all shell instances to use the same base set of lines when loaded, but to keep their history separate after the fact. As lines are added as you go, a new shell session (with ^G -> s -> c) will have access to previous sessions' lines. The implementation makes use of the disk_log library with a rotating log in order to store data, and allow automated repairs. By default, the feature is disabled and must be turned on through OTP environment variable part of the kernel application. The options include: | Option | Accepted values | Default | Description | | ------------------------ | ----------------- |---------- | -------------------- | | shell_history | enabled, disabled | disabled | turn feature on/off | | shell_history_path | any string | user cache| where to put files | | shell_history_file_bytes | 51200..N bytes | 512kb | max data size (>50kb)| | shell_history_drop | ["q().", ...] | [] | blacklisted lines | A version header is added to the disk_log configuration, allowing changes in the storage format to be enacted in the future (i.e. adding segmentation by node name in the same file, or encoding) without conflict. Log rotation is used with multiple log files to ensure proper enforcement of resizing without too much data loss. Because disk_log does not allow to just flush bits of content on rewrite (it truncates any full file), we instead use a wrap log and try to divide the configured size into up to 10 log files so that every time we rotate a log, we lose only 10% of the data. This remains true for corrupted files that cannot fully be repaired. This many-logs-based approach in turn forces the use of a minimal log size for the `shell_history_file_bytes` configuration, since it has to be divided by 10. The shell history is not loaded for the `user` process which, despite running the group.erl module, does not actually require history as it mostly just forwards IO protocol information.
2017-05-04Update copyright yearRaimo Niskanen
2017-02-09Merge pull request #1312 from richcarl/shell-smart-compileBjörn Gustavsson
Extend shell c(...) to find and recompile modules OTP-14190
2017-02-06Document the kernel source_search_rules parameterRichard Carlsson
2017-02-02kernel: Document signal serverBjörn-Egil Dahlberg
2016-09-01doc: Correct errors introduced by Editorial changesHans Bolinder
Fix some older errors as well.
2016-08-31Fix xmllint-warningsHans Bolinder
2016-08-15kernel: Document net_kernel:getopts and setoptsSverker Eriksson
2016-03-31Update Kernel documentationBjörn Gustavsson
Language cleaned up by technical writers from Combitech. Proofreading and corrections by Björn Gustavsson and Hans Bolinder.
2015-09-07Add documentationBjörn Gustavsson
2015-06-18Change license text to APLv2Bruce Yinhe
2015-02-20Document kernel inet_dist_{listen,connect}_optionsRaimo Niskanen
2014-04-10Add hyperlinks to modules in reference manual for kernel applicationSiri Hansen
This makes the pointers to other reference manuals consistent throughout this page.
2013-04-19Convert XML files to UTF-8Hans Bolinder
2012-03-30Update copyright yearsBjörn-Egil Dahlberg
2012-02-29Fix small typo in kernel app docRicardo Catalinas Jiménez
2011-11-16Add documentation and test for kernel env var shutdown_timeoutSiri Hansen
2009-11-20The R13B03 release.OTP_R13B03Erlang/OTP