Skip to content

Commit 1376d3f

Browse files
authored
feat: don't log config (#364)
1 parent 54a764d commit 1376d3f

File tree

3 files changed

+2
-11
lines changed

3 files changed

+2
-11
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "node-ts",
3-
"version": "3.0.21",
3+
"version": "3.0.22",
44
"description": "Nevermined Node",
55
"main": "main.ts",
66
"scripts": {

src/main.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ const bootstrap = async () => {
1414
console.log(process.env.NODE_ENV)
1515
const app = await NestFactory.create<NestExpressApplication>(ApplicationModule, {
1616
cors: true,
17-
logger: ['error', 'log', 'warn', 'debug'],
17+
logger: ['error', 'log', 'warn'],
1818
})
1919

2020
// http middleware logger

src/shared/nevermined/nvm.service.ts

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -61,15 +61,6 @@ export class NeverminedService {
6161
// TODO: handle configuration properly
6262
async onModuleInit() {
6363
const config = this.config.nvm()
64-
Logger.debug(
65-
`Starting NeverminedService with config:\n${JSON.stringify(
66-
config,
67-
(k, v) => {
68-
return typeof v === 'undefined' ? null : v
69-
},
70-
2,
71-
)}`,
72-
)
7364

7465
const web3 = createPublicClient({ transport: http(config.web3ProviderUri) })
7566
try {

0 commit comments

Comments
 (0)