mariadb-corporation / mariadb-connector-nodejs

MariaDB Connector/Node.js is used to connect applications developed on Node.js to MariaDB and MySQL databases. MariaDB Connector/Node.js is LGPL licensed.
GNU Lesser General Public License v2.1
363 stars 93 forks source link

Extend Logger Configuration to Include All Logging Types #249

Closed Fridious closed 9 months ago

Fridious commented 12 months ago

Hi there,

I am interested in configuring the logger to handle all types of logging. Presently, we can only modify the logger for error, query, and network messages via the LoggerConfig. However, it would be highly beneficial if we could also adjust the logger for other types, such as the "leak detection" message.

I'm curious if there's a specific reason why this feature is currently unavailable, or if there are any plans to implement it in the future. If not, I would be more than willing to take up the task of implementing this enhancement.

rusher commented 10 months ago

HI @Fridious, nice remark. Additionally to leak message, there is still some warning messages (like configuration warnings) configured to go to console, so this will configured using logger.warning

rusher commented 9 months ago

released