Closed cowboyd closed 2 years ago
✔️ Deploy Preview for simulacrum canceled.
🔨 Explore the source changes: bb6e1b1a96df77149119e2b04a014046de5a7b17
🔍 Inspect the deploy log: https://app.netlify.com/sites/simulacrum/deploys/6231a63feb0f53000895862d
Is logging off by default? I think I would have it on by default for new users. If things are not working, it is good to have some feedback of any sort.
@dagda1 I turned logging back on by default and it is disabled in the tests.
Motivation
The LDAP simulator outputs a lot of useful debug output, however there is no way to silence this output and so when demoing test output, it can be difficult to demonstrate what is signal and what is noise.
Approach
This adds a
log
flag to the server options, and won't print anything unless that flag is present