Age | Commit message (Collapse) | Author | |
---|---|---|---|
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] Add more functions for reading configuration | Siri Hansen | |
Added: * logger:get_config() - replaces i(), returns all Logger configuration, i.e. primary and handler config, and module levels * logger:get_handler_ids() -> [HandlerId] * logger:get_handler_config() -> [{HandlerId,Module,Config}] Removed: * logger:i/1, will probably be replaced in a later release. | |||
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 if-exist functionality for metadata keys in formatter template | Siri Hansen | |
* Nested metadata keys are now expressed as list of atoms (was earlier tuples). * If-exist is expressed as: {Key,IfExist,Else} Key :: atom() | [atom()] IfExist :: template() Else :: template() | |||
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-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 | Use system_time instead of monotonic_time as timestamp in logger | Siri Hansen | |
2018-05-21 | Format logger timestamps according to RFC3339 | 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 | Add logger:update_process_metadata/1 | Siri Hansen | |
2018-04-26 | Add logger | Siri Hansen | |