For my erlang application, I used both sasl logger and log4erl, and both give poor performance when the number of events they send is around 1000 per second. log4erl gave better performance, but after a while its mailbox starts to fill up and, thus, begins to inflate the virtual machine.
Will disk_log be used better (how will it work at 1000 events per second?).
I tried using disk_log in the shell ... in the example, they first convert the message for writing to binary (list_to_binary) and write to the file using the "blog" function.
Will this help me in using an efficient large-volume logger?
Another doubt :: Using disk_log: blog, the text size was only 84 bytes ... but with disk_log: log_terms..size was 970 bytes. What is the big difference?
source
share