Sam Ilic
6ffc41345f
Winston 3 upgrade ( #5496 )
...
* ⚡ Release 3.1.3 (#5267 )
* ⚡ Release 3.1.3
* Update CHANGELOG.md
* ⬆️ Bump winston and winston-daily-rotate-file
Bumps [winston](https://github.com/winstonjs/winston ) and [winston-daily-rotate-file](https://github.com/winstonjs/winston-daily-rotate-file ). These dependencies needed to be updated together.
Updates `winston` from 2.4.4 to 3.1.0
- [Release notes](https://github.com/winstonjs/winston/releases )
- [Changelog](https://github.com/winstonjs/winston/blob/master/CHANGELOG.md )
- [Commits](https://github.com/winstonjs/winston/compare/2.4.4...3.1.0 )
Updates `winston-daily-rotate-file` from 1.7.2 to 3.5.1
- [Release notes](https://github.com/winstonjs/winston-daily-rotate-file/releases )
- [Commits](https://github.com/winstonjs/winston-daily-rotate-file/compare/v1.7.2...v3.5.1 )
Signed-off-by: dependabot[bot] <support@dependabot.com >
* Rewrote WinstonLogger to work with winston 3.x api
* Changed winston logger test to use winston-transport
* Added winston-transport dependency
* Close and remove transports before adding them again
* Changed to strict equal
* Override adapter name
* Updated and added getLogs tests
* Bump winston and winston-daily-rotate-file
Bumps [winston](https://github.com/winstonjs/winston ) and [winston-daily-rotate-file](https://github.com/winstonjs/winston-daily-rotate-file ). These dependencies needed to be updated together.
Updates `winston` from 2.4.4 to 3.2.0
- [Release notes](https://github.com/winstonjs/winston/releases )
- [Changelog](https://github.com/winstonjs/winston/blob/master/CHANGELOG.md )
- [Commits](https://github.com/winstonjs/winston/compare/2.4.4...3.2.0 )
Updates `winston-daily-rotate-file` from 1.7.2 to 3.6.0
- [Release notes](https://github.com/winstonjs/winston-daily-rotate-file/releases )
- [Commits](https://github.com/winstonjs/winston-daily-rotate-file/compare/v1.7.2...v3.6.0 )
Signed-off-by: dependabot[bot] <support@dependabot.com >
* Fixed tests, updated parse logging
* Fixed tests, better error logging
* Fix failing tests
* Updates as per review
2019-04-14 18:03:33 -05:00
Florent Vilmart
d83a0b6808
Use Prettier JS ( #5017 )
...
* Adds prettier
* Run lint before tests
2018-09-01 13:58:06 -04:00
Arthur Cinader
edba550cf6
winston-daily-roate-file-1.4.2 makes a change where timestamp is not on by default anymore. ( #3335 )
...
see: aa28f52271
pretty incredible that they would release this as a patch release, but my fix is solid and defensive
chore(package): update winston-daily-rotate-file to version 1.4.2
https://greenkeeper.io/
2017-01-06 16:32:03 -08:00
Arthur Cinader
ca286b7108
Enable prefer-const lint rule ( #3202 )
2016-12-07 18:17:05 -05:00
Florent Vilmart
8c2c76dd26
Adds liniting into the workflow ( #3082 )
...
* initial linting of src
* fix indent to 2 spaces
* Removes unnecessary rules
* ignore spec folder for now
* Spec linting
* Fix spec indent
* nits
* nits
* no no-empty rule
2016-11-24 15:47:41 -05:00
Florent Vilmart
300150e50f
Fix expports problem ( #2774 )
2016-09-24 15:25:22 -04:00
Florent Vilmart
33e3993a37
Fixes issue where info logs would appear in error logs ( #2647 )
...
* Reproduction of #2639
* Make sure the error level options is enforced
2016-09-04 12:07:40 -04:00
Florent Vilmart
a5a172918e
Refactor logging to provide common logger from LoggerAdapter ( #2478 )
...
* Refactor logging to provide common logger from LoggerAdapter
Move logger logic de WinstonLoggerAdapter
Further improvements in configuration
Use logger instead of getLogger
- Removes PLog module
Reverts name changes
nits
* Adds additional logging levels as requirements
* Adds tests for logging configuration
* removes flaky test
* investigate...
* further investigation
* Adds silent option to disable console output
* Restores logs with VERBOSE in tests
* Expose controller instead of adapter, reduces method requirements for adapter
* Shuffles initializations around
* Fix doc
* Load cloudCode last to make sure the logger is available
* Adds test to make sure we can load an adapter from npm module
* extract defaults
* Adds defaultMongoURI to defaults
* fix defaults values
* Proper error for PG failures
* Disable flaky test
2016-08-12 10:25:24 -07:00