Skip to content

Commit

Permalink
explictly print hierarchy on startup of app via index file only to di…
Browse files Browse the repository at this point in the history
…sable implict logging during test execution
  • Loading branch information
tofixx committed Oct 2, 2020
1 parent 7389c53 commit 2c7d006
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
3 changes: 2 additions & 1 deletion sc-config.json
@@ -1,3 +1,4 @@
{
"secretMatches": ["SECRET", "KEY", "SALT", "PASSWORD", "DSN", "REDIS_URI"]
"secretMatches": ["SECRET", "KEY", "SALT", "PASSWORD", "DSN", "REDIS_URI"],
"printHierarchy": false
}
3 changes: 3 additions & 0 deletions src/index.js
@@ -1,6 +1,9 @@
const { Configuration } = require('@schul-cloud/commons');
const app = require('./app');
const logger = require('./logger');

Configuration.printHierarchy();

const port = app.get('port');
const server = app.listen(port);

Expand Down

0 comments on commit 2c7d006

Please sign in to comment.