Skip to content

Commit

Permalink
logger bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
tsullivan committed Apr 12, 2019
1 parent 6d53f0f commit 0bdbf93
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ export function registerGenerateCsvFromSavedObject(
method: 'POST',
options: routeOptions,
handler: async (request: Request, h: ResponseToolkit) => {
const logger = LevelLogger.createStaticFromServer(server, ['reporting', 'savedobject-csv']);
const logger = LevelLogger.createForServer(server, ['reporting', 'savedobject-csv']);

const { savedObjectType, savedObjectId } = request.params;
const jobParams: JobParams = {
Expand Down

0 comments on commit 0bdbf93

Please sign in to comment.