Skip to content

[validation service] How to suppress validation log on console #2

@t2ym

Description

@t2ym

[validation service] How to suppress validation log on console

Change to suppress the log

  • Comment out the console.log() in the skeleton validate() function
diff --git a/backend/validationService.js b/backend/validationService.js
index f7c3ae8..ac9852b 100644
--- a/backend/validationService.js
+++ b/backend/validationService.js
@@ -215,7 +215,7 @@ else {
     }
     const validate = function validate(req, Connect, CurrentSession) {
       let result;
-      console.log('validate: ', req.headers['user-agent'], CurrentSession.ClientIntegrity.browserHash.toString('hex'));
+      //console.log('validate: ', req.headers['user-agent'], CurrentSession.ClientIntegrity.browserHash.toString('hex'));
       switch (mode) {
       case 'build':
         result = 'validated';

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions