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
Florent Vilmart
942b9b5b1a
Adds documentations for adapters and main constructors ( #4951 )
...
* wip
* Adds documentations for adapters, and constructors
* nits
* nit
2018-08-15 10:47:21 -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
Arthur Cinader
fa736f1df7
Allow logger to add transports ( #2363 )
...
- Move all of the winston logic from FileLoggerAdapter to WinstonLoggerAdapter
- Export WinstonLoggerAdapter so it can be sublcassed
- Expost the ability to add adittional transports to logger
- Import FirehoseLoggerAdapter alongside other adapters so it can be configured.
2016-08-06 08:29:19 -04:00
Dharam Gollapudi
115fd7278c
Remove unused imports ( #2403 )
...
Remove the unused imports, as they are now part of logger.js
2016-08-04 10:31:03 -07:00
Florent Vilmart
5c1fe3a325
Better logging with winston
2016-03-28 20:16:58 -04:00
Florent Vilmart
3ecaa0aa4b
Sends verification email upon set and update email
...
- nits
2016-02-29 18:58:34 -05:00
Florent Vilmart
0b307bc22f
Improves AdapterLoader, enforces configuraiton on Adapters
2016-02-29 18:52:10 -05:00
Peter J. Shin
9248f9af6d
Fixing comment.
2016-02-12 17:05:57 -08:00
Peter Shin
dc4859f561
Logs support.
...
Added /logs endpoint with basic logger and LoggerAdapter.
2016-02-12 08:21:30 -08:00