Skip to content

Commit

Permalink
change loglevel envs
Browse files Browse the repository at this point in the history
  • Loading branch information
KiranVarma02 committed Nov 1, 2024
1 parent 1579c60 commit bb1e773
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions designer/server/src/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -88,10 +88,10 @@ const schema = joi.object<Config>({
.string()
.default('info')
.when('env', {
is: 'development',
is: 'local',
then: joi.string().default('error')
})
.when('env', {
.when('nodeEnv', {
is: 'test',
then: joi.string().default('silent')
})
Expand Down

0 comments on commit bb1e773

Please sign in to comment.