Age | Commit message (Collapse) | Author | |
---|---|---|---|
2018-09-12 | [logger] Check for deadlock when removing filters | Siri Hansen | |
If a filter fails, it is removed by a call to logger:remove_filter/1,2. If the log event that caused the failure was issued on the logger process itself, this would earlier cause a deadlock due to a gen_server:call to self(). This is now prevented. | |||
2018-09-12 | [logger] Improve code coverage in test | Siri Hansen | |
2018-09-12 | [logger] Refactor some logger internals | Siri Hansen | |
2018-07-16 | kernel: Add logger:set_application_level/2 | Lukas Larsson | |
OTP-15146 | |||
2018-06-18 | Update copyright year | Henrik Nord | |
2018-06-12 | Merge pull request #1835 from sirihansen/siri/logger-fix | Siri Hansen | |
2018-06-11 | [logger] Change default primary log level to 'notice' | Siri Hansen | |
Log events issued via error_logger:info_msg or error_logger:info_report are now forwarded to Logger with level 'notice' instead of 'info'. Log events issued by gen_* behaviours are also changed from level 'info' to level 'notice'. Progress reports are still 'info', and can therefore easily be included/excluded by changing the primary log level. By default, they are not logged. | |||
2018-06-11 | Merge branch 'lukas/kernel/logger-config/OTP-13295' | Lukas Larsson | |
* lukas/kernel/logger-config/OTP-13295: erts: Fix emulator log messages to use erlang:system_time kernel: Add LOGGER_SERVER_TAG to logger_server | |||
2018-06-08 | [logger] Update return values from get_handler_config/0,1 and get_config/0 | Siri Hansen | |
Module and Id are now always included as fields in Config, so these are no longer returned as separate elements. | |||
2018-06-08 | [logger] Change name of handler specific config field from ?MODULE to 'config' | Siri Hansen | |
And add field 'module' in handler config. | |||
2018-06-08 | [logger] Change concept of 'global' configuration to 'primary' configuration | Siri Hansen | |
Function names changed: get/set/update_logger_config -> get/set/update_primary_config add/remove_logger_filter -> add/remove_primary_filter | |||
2018-06-08 | [logger] Add configurable log levels 'all' and 'none' | Siri Hansen | |
New default for handlers is 'all'. | |||
2018-06-08 | [logger] Update interface for setting/unsetting module level | Siri Hansen | |
* Level can now be set/unset for multiple modules in one call. * Added functions get_module_level/0 and get_module_level/1. | |||
2018-06-08 | [logger] Change handler config to accept all levels by default | Siri Hansen | |
2018-06-04 | kernel: Add LOGGER_SERVER_TAG to logger_server | Lukas Larsson | |
This makes recursive calls to not dead-lock logger_server. | |||
2018-05-23 | Rename module logger_simple to logger_simple_h | Siri Hansen | |
Also, change HandlerId from logger_simple to simple. | |||
2018-05-23 | Remove HandlerId from handler callback functions and add it to Config | Siri Hansen | |
2018-05-23 | Rename reset_module_level to unset_module_level | Siri Hansen | |
2018-05-23 | Add logger:update_formatter_config/2,3 | Siri Hansen | |
2018-05-23 | Set legacy_header=true for kernel's default handler only | Siri Hansen | |
2018-05-21 | Add update_logger_config/1 and update_handler_config/2 to logger | Siri Hansen | |
2018-05-21 | Hide handlers field in logger config map from the API | Siri Hansen | |
This field contains the index of all installed handlers. It is internal and can not be altered by the user, and should therefore not be visible. | |||
2018-05-21 | Improve santiy check of formatter config | Siri Hansen | |
2018-05-21 | kernel: Make all handler callbacks not block logger | Lukas Larsson | |
2018-05-21 | logger: Rework configuration of logger | Lukas 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-07 | Change logger callback removing_handler/1 to removing_handler/2 | Siri Hansen | |
2018-05-07 | Don't crash logger_server due to unexpected message | Siri Hansen | |
2018-04-26 | Add logger | Siri Hansen | |