aboutsummaryrefslogtreecommitdiffstats
path: root/lib/kernel/src/logger_disk_log_h.erl
diff options
context:
space:
mode:
authorSiri Hansen <[email protected]>2018-05-04 16:40:55 +0200
committerSiri Hansen <[email protected]>2018-05-07 12:02:25 +0200
commit3c9e4adff06a3f74513cb6658405e43e674133c1 (patch)
treef6760f268af10c0e87437d42b368f0df23b00994 /lib/kernel/src/logger_disk_log_h.erl
parentd8e804043c6b4974943884cb15b86b40a5c870f1 (diff)
downloadotp-3c9e4adff06a3f74513cb6658405e43e674133c1.tar.gz
otp-3c9e4adff06a3f74513cb6658405e43e674133c1.tar.bz2
otp-3c9e4adff06a3f74513cb6658405e43e674133c1.zip
Change logger callback removing_handler/1 to removing_handler/2
Diffstat (limited to 'lib/kernel/src/logger_disk_log_h.erl')
-rw-r--r--lib/kernel/src/logger_disk_log_h.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/kernel/src/logger_disk_log_h.erl b/lib/kernel/src/logger_disk_log_h.erl
index 3b71f936d8..0150fa781a 100644
--- a/lib/kernel/src/logger_disk_log_h.erl
+++ b/lib/kernel/src/logger_disk_log_h.erl
@@ -34,7 +34,7 @@
%% logger callbacks
-export([log/2,
- adding_handler/2, removing_handler/1,
+ adding_handler/2, removing_handler/2,
changing_config/3, swap_buffer/2]).
%%%===================================================================
@@ -223,7 +223,7 @@ check_my_config([]) ->
%%%-----------------------------------------------------------------
%%% Handler being removed
-removing_handler(Name) ->
+removing_handler(Name, _Config) ->
stop(Name).
%%%-----------------------------------------------------------------