Commit graph

127 commits

Author SHA1 Message Date
Christopher Hoskin
02356c7f27 All logging manager tests working 2020-07-24 09:12:59 +01:00
Christopher Hoskin
6961f41488 Promisfy log level checks 2020-07-24 09:12:59 +01:00
Christopher Hoskin
6b8dd86a26 WIP 2020-07-24 09:12:59 +01:00
Christopher Hoskin
14bac39222 Add MOCHA_GREP for testing 2020-07-24 09:12:59 +01:00
Christopher Hoskin
40a08bebdb WIP 2020-07-24 09:12:59 +01:00
Christopher Hoskin
50d2856841 Re-instate metadata request as fallback for CLSI 2020-07-24 09:12:59 +01:00
dependabot[bot]
98e4444585 Bump lodash from 4.17.15 to 4.17.19
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.15 to 4.17.19.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.15...4.17.19)

Signed-off-by: dependabot[bot] <support@github.com>
2020-07-18 15:48:52 +00:00
Jakob Ackermann
e61b1124bb [misc] bump eslint to 7.3.1 2020-07-02 12:15:22 +01:00
Jakob Ackermann
97407980db [misc] monkey patch prettier-eslint basepath 2020-07-02 12:12:07 +01:00
Christopher Hoskin
102c7524c9 Re-generate package-lock.json 2020-07-02 11:12:07 +01:00
Christopher Hoskin
db5084d30f Updrade runtime dependencies 2020-07-02 11:08:10 +01:00
Christopher Hoskin
bcaee67a5c Bump sinon and sandboxed-module 2020-07-02 11:04:21 +01:00
Christopher Hoskin
fcd4a60657 Make prettier 2020-07-02 11:01:23 +01:00
Christopher Hoskin
4c8d29af59 Update mocha and prettier 2020-07-02 11:00:28 +01:00
Christopher Hoskin
edbf7220df 2.1.1 2020-07-02 10:53:42 +01:00
Christopher Hoskin
d695a40a61 Lint 2020-07-02 10:51:37 +01:00
Christopher Hoskin
b932a8127b Bump eslint plugins 2020-07-02 10:46:37 +01:00
Christopher Hoskin
52649c9d0b 2.1.0 2020-06-30 14:00:15 +01:00
Christopher Hoskin
fa8df5cc0b Format:fix 2020-06-30 13:56:13 +01:00
Christopher Hoskin
9e54503d1b Add prettier-eslint-cli to dev-dependencies 2020-06-30 13:55:24 +01:00
Christopher Hoskin
c93ee44879 Update acorn dependency (via eslint) https://github.com/advisories/GHSA-6chw-6frg-f759 2020-06-30 13:53:34 +01:00
Christopher Hoskin
9437266dcb Merge branch 'master' into jpa-csh-tracing-end-time-from-fs 2020-06-19 11:41:15 +01:00
Miguel Serrano
12e3afb174 Bumped major version 2020-06-03 10:20:43 +02:00
Miguel Serrano
da0f2d5e75 Updated .nvmrc to latest LTS 2020-06-03 10:19:58 +02:00
Miguel Serrano
c602d536d2 updated OError to v3 2020-06-03 10:19:45 +02:00
Jakob Ackermann
5aad5db40f [checkLogLevel] read the updated tracing end time from disk 2020-05-15 13:39:35 +02:00
Jakob Ackermann
2137c7a42c [misc] version bump to 1.9.1 2020-03-23 13:06:32 +01:00
Jakob Ackermann
b049331777 [misc] fix decaff cleanup for reportedToSentry
Previously it would bailout of the loop after processing ANY attribute.
REF: 6fe4dcbf32720282821d42140ab92593866e0772
2020-03-23 10:48:55 +01:00
Eric Mc Sween
364cdf1fdb 1.9.0 2019-10-25 07:15:35 -04:00
Eric Mc Sween
cb300b79ea Add option to log to Stackdriver
When the environment variable STACKDRIVER_LOGGING is set to true, logs
are sent to Stackdriver in addition to stdout.
2019-10-24 17:15:29 -04:00
Eric Mc Sween
905d65931a Small cleanup, satisfy linter, add prettier 2019-10-24 17:15:29 -04:00
John Lees-Miller
1482e6841b Bump to 1.8.0 and include license 2019-07-11 13:07:47 +01:00
Miguel Serrano
7e6b562981 Fix test setup (#15) 2019-07-11 13:25:09 +02:00
Miguel Serrano
6b3e7e4ffc replace bunyan error serializer with custom one (#14) 2019-07-11 12:11:09 +02:00
Ersun Warncke
1809d6e403 filter out error logs in buffer 2019-03-12 08:23:37 -04:00
Ersun Warncke
cb22e98766 default ring buffer size to zero 2019-03-11 10:27:35 -04:00
Ersun Warncke
b31022e329 remove jsx and react from eslint config and add eslint modules 2019-03-08 12:16:21 -04:00
Ersun Warncke
a2b5793f49 add eslint and prettier 2019-03-08 12:06:24 -04:00
Ersun Warncke
83597e8723 use ring buffer for logging and include with error 2019-03-08 10:09:44 -04:00
Ersun Warncke
5a6e00e12b decaf 2019-03-06 16:08:38 -04:00
Ersun Warncke
128c9f7c39 lower case prod check, bump version 2019-01-29 12:00:14 -04:00
Ersun Warncke
8764c7378b check dynamic log level in gce metadata 2019-01-29 10:13:26 -04:00
Henry Oswald
a2ed182942 add process.env['LOG_LEVEL'] varable to let us change the logging level 2018-12-14 14:30:01 +00:00
Brian Gough
cd81a602fd increment version to 1.5.8 2018-11-06 10:56:58 +00:00
Brian Gough
df3b889f50 remove the path in the message from fs errors 2018-11-06 10:50:12 +00:00
Brian Gough
3676f78ff9 avoid reporting the same error object more than once 2018-11-02 15:53:21 +00:00
James Allen
86ea1d3b57 Bump version to 1.5.7 2017-12-07 09:36:43 +00:00
James Allen
f707c835b9 Add debug level 2017-12-07 09:36:12 +00:00
Brian Gough
9d6101e365 Merge pull request #3 from sharelatex/bg-rate-limit
rate limit on logging
2017-03-29 16:26:16 +01:00
Brian Gough
9c7494eb67 fix off-by-one error in error count 2017-03-29 13:38:07 +01:00
Brian Gough
c7a6f44b11 add unit tests 2017-03-29 13:38:07 +01:00
Shane Kilkelly
7cf65d072d Add a .nvmrc file 2017-03-27 15:28:36 +01:00
Brian Gough
013c2a693c rate limit on logging v1.5.6 2017-03-23 13:54:44 +00:00
Shane Kilkelly
c930f6c680 bump to version 1.5.5 2017-03-22 14:59:40 +00:00
Shane Kilkelly
27c6390f4c upgrade to coffee-script 1.12.4 2017-03-22 14:46:42 +00:00
James Allen
aebaff829b Update package.json 2017-03-06 12:09:37 +00:00
Brian Gough
dfb2a069c0 use try catch around sentry logging 2017-03-03 16:05:56 +00:00
Brian Gough
5fc5a86b31 upgrade to latest raven 2017-03-03 14:43:41 +00:00
Brian Gough
68b941357e avoid uninitialised last error timestamp 2017-02-23 09:42:01 +00:00
Brian Gough
6e3f102fb2 rate limit on sentry reporting 2017-02-23 09:29:52 +00:00
Brian Gough
cf0e106153 release 1.5.1 2016-04-01 15:52:42 +01:00
Brian Gough
24e097d263 don't force message over exception but include it as description 2016-04-01 15:52:28 +01:00
Brian Gough
7bdf2ef26b release 1.5 2016-04-01 15:35:54 +01:00
Brian Gough
fdc1ad2898 use logger.error message as title of sentry report 2016-04-01 15:35:14 +01:00
Brian Gough
04529c0019 release 1.4 2016-03-30 14:30:05 +01:00
Brian Gough
e04e6332e8 add fatal exception reporting
split out capture exception code into separate method
2016-03-29 12:53:16 +01:00
Brian Gough
e8b8cfd9e0 release version 1.3.1 2016-01-26 16:42:08 +00:00
Brian Gough
17cf288e4c recreate Error objects from plain objects when logging to sentry 2016-01-26 16:41:52 +00:00
Brian Gough
2e21da050c add logging of request parameters to sentry 2016-01-05 13:34:50 +00:00
Brian Gough
fd70f23e5c updated version to 1.2.1 2015-12-18 10:58:03 +00:00
Brian Gough
06662f869f capture id's as tags, and pass attributes to sentry 2015-12-17 16:41:32 +00:00
Brian Gough
f1abe1e03b allow passing options to sentry 2015-12-08 10:30:18 +00:00
Henry Oswald
30bfae5b35 upgraded bunyan 2015-12-01 20:51:08 +00:00
James Allen
90e6c85e54 Send errors to Sentry if configured 2015-06-16 16:50:18 +01:00
Henry Oswald
5637678b48 bumped bunyan version to work with node 0.12 2015-06-08 10:01:45 +01:00
James Allen
c1e10e7ec4 Release version 1.0.0 2014-08-19 13:30:16 +01:00
James Allen
58cd9ced1a Initial open source commit 2014-02-17 14:54:20 +00:00