Fork me on GitHub

Hi all, with the default configuration at the REPL logging using timbre is very slow. Is this normal? Do I need to set up async appenders?


@sofra can you provide any more details than that? I've never had a problem unless I'm logging very large quantities of messages or messages of large size themselves. And even that is more of a limitation of cider or cursive attempting to keep up with the repl logs


Thanks @tanzoniteblack, I worked it out. The default out put fn tries to get the hostname and that was very slow on my machine. It does cache it but then the cache times out and if you come back to the REPL it will be slow again.


Can either live with it, fix problem of the hostname resolving slowly, or replace the default out put fn.