Skip to content

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

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';

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions