Side-effects when giving agent
config to useHive()
?
#6052
Unanswered
4nduril-ms
asked this question in
Help
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hey there,
I have a question regarding the possibility of calling
useHive
and thereforecreateHive
with anagent
property in the config object.Our goal is to provide our own logger with a specific log-level (debug) so that we no longer see Hive's standard
console.info()
output on our server logs when on a INFO level.For one, I think it would be awesome to have that documented – at least I didn't find info other than in the source.
And for my actual question: I saw in the code that if no
agent
config is provided it defaults at some point to{ maxSize: 1500 }
. I found no other obvious defaults. So what I did was to provide an agent config similar to this:This works as we expected and we can't see any other implications. But I wanted to get some confirmation that this really has no other side-effects. I would really appreciate any feedback. Especially if I missed something in docs or code.
Beta Was this translation helpful? Give feedback.
All reactions