Releases: anfema/dblogger-native
Releases · anfema/dblogger-native
0.6.1
Crash fixes and running without a DB
- Allow instanciation of logger without any DB config (use
type: 'none'
) - Bugfix: Do not crash with segmentation fault if first logger to be instanciated is provided with no configuration (throws exception now)
Silence postgres notices
- Silence the
NOTICE
warnings oflibpq
when skipping table creation on startup
Typescript improvements
- Add
type
property to options in typescript definition
Initial Typescript support
- Add TypeScript definition file 🎉
Stability improvements
- Bugfix: If loglevel was not explicitly set the initialization of the global log level was undefined
- Bugfix: On logfile rotation the
log_to_stdout
flag was lost on reinitialization - Postgres: Mark connection as invalid on fatal errors, try to reconnect on next log statement
- Postgres: Set application name to
<logger name> logger
stdout/stderr improvements
- Bugfix: stdout setting will now be inherited, you can turn it off for specific loggers by only setting that option on creation
Bugfix for lost log-level
- Bugfix: Keep configured log level and re-apply that setting to all loggers that do not override it specifically
Log rotation improvements
- Bugfix: Log-rotation/DB-reconnect killed configured logger name
PostgreSQL support
- Implement PostgreSQL support,
- Bugfix: speed up logging by not failing a lot of insert statements