timbre

2020-06-18T13:13:29.008Z

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?

tanzoniteblack 2020-06-18T16:56:11.009Z

@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

2020-06-18T23:12:46.010800Z

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.

2020-06-18T23:14:10.012300Z

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

tanzoniteblack 2020-06-18T23:16:02.012700Z

👍