Skip to content

Commit

Permalink
upgrade e/good again to get function reporters
Browse files Browse the repository at this point in the history
  • Loading branch information
spalger committed Feb 4, 2020
1 parent 1632bfb commit 338fc69
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@
"@elastic/ems-client": "7.6.0",
"@elastic/eui": "18.3.0",
"@elastic/filesaver": "1.1.2",
"@elastic/good": "8.1.1-kibana6",
"@elastic/good": "8.1.1-kibana7",
"@elastic/numeral": "2.3.3",
"@elastic/request-crypto": "^1.0.2",
"@elastic/ui-ace": "0.2.3",
Expand Down
6 changes: 3 additions & 3 deletions src/legacy/server/logging/configuration.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ export default function loggingConfiguration(config) {
});
}

const loggerStream = getLoggerStream({
const loggerStreamOptions = {
config: {
json: config.get('logging.json'),
dest: config.get('logging.dest'),
Expand All @@ -70,7 +70,7 @@ export default function loggingConfiguration(config) {
},
{}
),
});
};

const options = {
ops: {
Expand All @@ -80,7 +80,7 @@ export default function loggingConfiguration(config) {
request: ['headers', 'payload'],
},
reporters: {
logReporter: loggerStream,
logReporter: () => getLoggerStream(loggerStreamOptions),
},
};
return options;
Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1997,10 +1997,10 @@
async-retry "^1.2.3"
strip-ansi "^5.2.0"

"@elastic/good@8.1.1-kibana6":
version "8.1.1-kibana6"
resolved "https://registry.yarnpkg.com/@elastic/good/-/good-8.1.1-kibana6.tgz#39cafef0785991e2a1dae726c5edc29f5008126b"
integrity sha512-0UIfFHrO64G29IGx0FeLR5Cn7D8tr75YYE8Tn60wP3UipGaYKxSP5GUT/PLTHZU4t+yqffM4I+HilAaLnV+gmg==
"@elastic/good@8.1.1-kibana7":
version "8.1.1-kibana7"
resolved "https://registry.yarnpkg.com/@elastic/good/-/good-8.1.1-kibana7.tgz#450bcb276e4613ed9a0c532cbff61fd93b26440c"
integrity sha512-9R86dfGOjhumUOIbMafFciQRqoiBjnGtMJ1hWkH+TO05VmlL94vuw2rfPLzbI9dIyOvIZB/LLLkqEBgp8AZDtg==
dependencies:
hoek "5.x.x"
joi "13.x.x"
Expand Down

0 comments on commit 338fc69

Please sign in to comment.