Something about erlang log framework -
we have try use lager our log framework. meet problem.
lager may lost date, have saw source code of lager, think reason gen_event notify async call, doesn't guarantee message receiving.
lager performance not enough. guess because of lager's file backend written erlang. doesn't have performance.
so, think log framework written c, , capsulated erlang may choice.
do know erlang framework meet requirements?
lager create event named 'lager_event' in application.
for every backend, there 1 gen_event process handle it. therefore if many process generating messages @ same time, log of course lost @ 1 specific time. not related language use.
sugguest: 1. control log quantity. 2. rid of erlang's event system , create jobs(tasks)'s subsystem (multi processes) handle log.
Comments
Post a Comment