Skip to content

Commit

Permalink
fix(server): ensure log entries have level silly (#496)
Browse files Browse the repository at this point in the history
After recent changes to the logger, child entries only inherit their
parent level if specified.
  • Loading branch information
eysi09 committed Jan 31, 2019
1 parent abd6509 commit 5b11322
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion garden-service/src/server/commands.ts
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ export async function resolveRequest(
const cmdGarden = await Garden.factory(garden.projectRoot, garden.opts)

// We generally don't want actions to log anything in the server.
const cmdLog = log.placeholder(LogLevel.silly)
const cmdLog = log.placeholder(LogLevel.silly, { preserveLevel: true })

const cmdArgs = mapParams(ctx, request.parameters, command.arguments)
const cmdOpts = mapParams(ctx, request.parameters, command.options)
Expand Down

0 comments on commit 5b11322

Please sign in to comment.