This website works better with JavaScript.
Home
Explore
Help
Register
Sign In
SisMaker
/
lager
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Projects
0
Releases
53
Wiki
Activity
Browse Source
Misunderstood the inbound Module term. Should probably have specs and/or a different name. Actually represents the unique ID we want, e.g. {lager_file_handler, "foo.log"}
pull/264/head
John R. Daily
10 years ago
parent
67565b4444
commit
a42eda8c96
1 changed files
with
1 additions
and
2 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-2
src/lager_app.erl
+ 1
- 2
src/lager_app.erl
View File
@ -87,8 +87,7 @@ start_handlers(Sink, {ok, Handlers}) ->
start_handler
(
Sink
,
Module
,
Config
)
-
>
{
ok
,
Watcher
}
=
supervisor
:
start_child
(
lager_handler_watcher_sup
,
[
Sink
,
Module
,
Config
]
)
,
{
BackendId
,
_
Config
}
=
maybe_make_handler_id
(
Module
,
Config
)
,
{
BackendId
,
Watcher
,
Sink
}
.
{
Module
,
Watcher
,
Sink
}
.
interpret_hwm
(
undefined
)
-
>
undefined
;
Write
Preview
Loading…
Cancel
Save