gemercheung 3 vuotta sitten
vanhempi
commit
40f159980d
2 muutettua tiedostoa jossa 3 lisäystä ja 3 poistoa
  1. 1 1
      src/logConfig.ts
  2. 2 2
      src/meta.gateway.ts

+ 1 - 1
src/logConfig.ts

@@ -35,7 +35,7 @@ export const LoggerConfig = {
     winston.format.json(),
     winston.format.printf(
       (info) =>
-        `${info.timestamp} [${info.level}] ${info.context || ''}: ${info.message
+        `${info.timestamp} [${info.level}] ${info.context || ''}: ${ info.message
         }`,
     ),
     // nestWinstonModuleUtilities.format.nestLike('Meta-server', {

+ 2 - 2
src/meta.gateway.ts

@@ -260,8 +260,8 @@ export class MetaGateway
       });
       this.sceneService.init(requestPayLoad);
       this.logger.log(
-        'start and send to gprc sceneService,method=>init',
-        JSON.stringify(requestPayLoad),
+        'info',
+        'requestPayLoad' + JSON.stringify(requestPayLoad),
       );
 
       const startReply = {