Custom log file

Hi all,

If setting max concurrent connections; the log file gets jam packed with errors about it exceeding max concurrent , is there a way to stop the logging of those items ?

I believe they appear as “error” so the only thing I can think of is to put pieceStore to fatal logging only??

Or is there another way?

I also only want to know about things they will affect the node, for example file walker issues etc

Thanks in advance !

You may specify a custom log level for different processes now, so check what’s process is complaining and set the log level to less verbose for it.
However, it will hide all messages below this log level, not only about the limit for this process.

So perhaps you may just configure a logrotate instead.

1 Like