Limits the size of the unallocated workers log by printing the length instead of EVERY worker name if there's more than 10
Removes an unnecessary log in the client
Replaces a console.log with a log.info
Allows the log level to be configurable, does a key check to make sure a valid one is set by the user, otherwise uses info
Reasoning
The current info level logs in Rotom are totally unnecessary for users not debugging issues and are actively causing issues for setups with 5,000+ workers due to the extremely excessive amount of logging being done.
Changes
unallocated workers
log by printing the length instead of EVERY worker name if there's more than 10info
Reasoning
The current info level logs in Rotom are totally unnecessary for users not debugging issues and are actively causing issues for setups with 5,000+ workers due to the extremely excessive amount of logging being done.