Age | Commit message (Collapse) | Author |
|
|
|
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.
|
|
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.
|
|
|
|
There is more to do.
|
|
|
|
PR-1448 caused sasl_report_SUITE:gen_server_crash to produce a
slightly bigger sasl.log. This is because the Reason used in the crash
report is changed from {ExitReason,Stacktrace} to ExitReason only,
where ExitReason={badmatch,BigGbSet}. The term is written with a depth
limit of 30, and when removing the top tuple, a new level of the
gb_set is exposed. This level contains more data than the removed
Stacktrace, and thus the resulting log gets a bit bigger than before.
|
|
|
|
As a first step to removing the test_server application as
as its own separate application, change the inclusion of
test_server.hrl to an inclusion of ct.hrl and remove the
inclusion of test_server_line.hrl.
|
|
|