Disable SLS_DEBUG=* in the Serverless Framework
Asked Answered
S

1

13

When using the serverless framework (on a Mac OS X High Sierra), the SLS_DEBUG environmental variable was set to enable verbose debug info

export SLS_DEBUG=*

Question: Now how do you disable it (other than moving to a new terminal)? export SLS_DEBUG=false did not do the trick.

Seiber answered 18/9, 2018 at 2:59 Comment(1)
You can do it as any other environment variable. Duplicate of: #6878227Thea
M
21

You can remove an environment variable by:

unset SLS_DEBUG
Micromho answered 18/9, 2018 at 4:9 Comment(2)
How do you remove SLS_DEBUG in windows ? I deleted my enviornment variable but it still gives me all the logsEssayist
@Essayist did you try digitalcitizen.life/remove-edit-clear-environment-variablesMicromho

© 2022 - 2024 — McMap. All rights reserved.