-
Notifications
You must be signed in to change notification settings - Fork 0
/
test.log
29 lines (29 loc) · 10.6 KB
/
test.log
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
{"level":30,"levelNumber":30,"levelName":"info","time":"2022-10-06T01:32:14.995Z","pid":28648,"hostname":"santou","name":"linebacker","location":"Express+TypeORM","function":"pre-start","msg":"getting environment"}
{"level":30,"levelNumber":30,"levelName":"info","time":"2022-10-06T01:32:14.995Z","pid":28648,"hostname":"santou","name":"linebacker","location":"Express+TypeORM","function":"pre-start","msg":"APP_ENV dev"}
{"level":30,"levelNumber":30,"levelName":"info","time":"2022-10-06T01:32:19.521Z","pid":28648,"hostname":"santou","name":"linebacker","location":"Express+TypeORM","function":"startServer","msg":"apiPort 3000"}
{"level":30,"levelNumber":30,"levelName":"info","time":"2022-10-06T01:32:19.521Z","pid":28648,"hostname":"santou","name":"linebacker","location":"Express+TypeORM","function":"startServer","msg":"initializing TypeORM data source"}
{"level":30,"levelNumber":30,"levelName":"info","time":"2022-10-06T01:32:19.695Z","pid":28648,"hostname":"santou","name":"linebacker","location":"Express+TypeORM","function":"startServer","msg":"configuring circuit breakers"}
{"level":30,"levelNumber":30,"levelName":"info","time":"2022-10-06T01:32:19.695Z","pid":28648,"hostname":"santou","name":"linebacker","location":"Express+TypeORM","function":"startServer","msg":"building server"}
{"level":30,"levelNumber":30,"levelName":"info","time":"2022-10-06T01:32:19.705Z","pid":28648,"hostname":"santou","name":"linebacker","location":"Express+TypeORM","function":"startServer","msg":"publishing ApplicationResilienceReady"}
{"level":20,"levelNumber":20,"levelName":"debug","time":"2022-10-06T01:32:19.705Z","pid":28648,"hostname":"santou","name":"linebacker","eventName":"ApplicationResilienceReady","handerName":"bound onApplicationResilienceReady","msg":"publish event"}
{"level":20,"levelNumber":20,"levelName":"debug","time":"2022-10-06T01:32:19.705Z","pid":28648,"hostname":"santou","name":"linebacker","applicationModuleName":"backup-request","moduleName":"ApplicationResilienceReadySubscriber.ts","functionName":"onApplicationResilienceReady","eventName":"ApplicationResilienceReady","beforeTimestamp":"2022-10-06T01:32:19.521Z","msg":"Execute use case"}
{"level":30,"levelNumber":30,"levelName":"info","time":"2022-10-06T01:32:19.744Z","pid":28648,"hostname":"santou","name":"linebacker","applicationModuleName":"backup-request","moduleName":"ApplicationResilienceReadySubscriber.ts","functionName":"onApplicationResilienceReady","eventName":"ApplicationResilienceReady","beforeTimestamp":"2022-10-06T01:32:19.521Z","allowedResultType":"ok","receivedResultType":"ok","value":{"allowedResult":[],"receivedResult":[]},"msg":"Use case ok"}
{"level":30,"levelNumber":30,"levelName":"info","time":"2022-10-06T01:32:21.713Z","pid":28648,"hostname":"santou","name":"linebacker","location":"Express+TypeORM","function":"startServer","msg":"starting server"}
{"level":30,"levelNumber":30,"levelName":"info","time":"2022-10-06T01:32:21.716Z","pid":28648,"hostname":"santou","name":"linebacker","location":"Express+TypeORM","function":"startServer","msg":"Server is running on port 3000"}
{"level":30,"levelNumber":30,"levelName":"info","time":"2022-10-06T01:32:36.554Z","pid":28648,"hostname":"santou","name":"linebacker","traceId":"21518561733364","requestMethod":"POST","requestUrl":"/api/backup-requests","requesterIp":"::ffff:127.0.0.1","msg":"Received"}
{"level":50,"levelNumber":50,"levelName":"error","time":"2022-10-06T01:32:37.071Z","pid":28648,"hostname":"santou","name":"linebacker","traceId":"21518561733364","decodedToken":{"header":{"alg":"RS256","typ":"JWT","kid":"igTlJW52giq3xZzwgvkJN"},"payload":{"iss":"https://dev-x52rc74s.us.auth0.com/","sub":"taV61oI9eeiTZWICbMWMG7VcUBcpyHm9@clients","aud":"linebacker-api","iat":1664635467,"exp":1664639067,"azp":"taV61oI9eeiTZWICbMWMG7VcUBcpyHm9","scope":"post:backup-requests get:backup-requests","gty":"client-credentials"},"signature":"c3Gk3AHUOuvNU-GEEk66eeN4tKGSZDAm1YPhNWl7kd4NdapNPNtq4pZqx7_Zsmy7zVsH6yMqV42CSHFdSWS4UDDTpld5uLqZEhAjTrWpdlUCEpxQUEii08o8ilZBalN-iX1eRMCKQqsa6BxY526p2H2zqCwlKFAqrFQK8mXUwZ8slorddp3MlQYv88bmaylGifiOPvdz0X0M4DIUpVd_zSBELNXHhue21flxyB9r6_m-yen6Zz2XfBdTYqEnM6veovM073K7OpfaGHmYxC2gA_tNDr1QxvjnMniQ1mKpP81UUBVE6J8lv8yIz2lnFp6IoQgvabyZ3VINBpNZA7OkZA","input":"eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6ImlnVGxKVzUyZ2lxM3haendndmtKTiJ9.eyJpc3MiOiJodHRwczovL2Rldi14NTJyYzc0cy51cy5hdXRoMC5jb20vIiwic3ViIjoidGFWNjFvSTllZWlUWldJQ2JNV01HN1ZjVUJjcHlIbTlAY2xpZW50cyIsImF1ZCI6ImxpbmViYWNrZXItYXBpIiwiaWF0IjoxNjY0NjM1NDY3LCJleHAiOjE2NjQ2MzkwNjcsImF6cCI6InRhVjYxb0k5ZWVpVFpXSUNiTVdNRzdWY1VCY3B5SG05Iiwic2NvcGUiOiJwb3N0OmJhY2t1cC1yZXF1ZXN0cyBnZXQ6YmFja3VwLXJlcXVlc3RzIiwiZ3R5IjoiY2xpZW50LWNyZWRlbnRpYWxzIn0"},"error":{"code":"FAST_JWT_EXPIRED"},"moduleName":"authnerizer.js","msg":"Cannot verify token"}
{"level":30,"levelNumber":30,"levelName":"info","time":"2022-10-06T01:32:37.081Z","pid":28648,"hostname":"santou","name":"linebacker","traceId":"21518561733364","requestMethod":"POST","requestUrl":"/api/backup-requests","requesterIp":"::ffff:127.0.0.1","statusCode":401,"contentLength":441,"responseTimeMs":"528","msg":"Responded"}
{"level":30,"levelNumber":30,"levelName":"info","time":"2022-10-06T01:32:59.676Z","pid":28648,"hostname":"santou","name":"linebacker","traceId":"21541684477701","requestMethod":"POST","requestUrl":"/api/backup-requests","requesterIp":"::ffff:127.0.0.1","msg":"Received"}
{"level":20,"levelNumber":20,"levelName":"debug","time":"2022-10-06T01:32:59.772Z","pid":28648,"hostname":"santou","name":"linebacker","eventName":"BackupRequestCreated","aggregateName":"BackupRequest","aggregateId":"GMNAZauRHujsfzuYlQ2no","msg":"added event"}
{"level":20,"levelNumber":20,"levelName":"debug","time":"2022-10-06T01:32:59.855Z","pid":28648,"hostname":"santou","name":"linebacker","eventName":"BackupRequestCreated","handerName":"bound onBackupRequestCreated","msg":"publish event"}
{"level":20,"levelNumber":20,"levelName":"debug","time":"2022-10-06T01:32:59.856Z","pid":28648,"hostname":"santou","name":"linebacker","moduleName":"BackupRequestCreatedSubscriber.ts","functionName":"onBackupRequestCreated","backupRequestId":"GMNAZauRHujsfzuYlQ2no","eventName":"BackupRequestCreated","msg":"Execute use case"}
{"level":30,"levelNumber":30,"levelName":"info","time":"2022-10-06T01:32:59.857Z","pid":28648,"hostname":"santou","name":"linebacker","backupRequestId":"GMNAZauRHujsfzuYlQ2no","moduleName":"ExpressCreateBackupRequestController.ts","functionName":"execImpl","traceId":"21541684477701","msg":"BackupRequest created"}
{"level":30,"levelNumber":30,"levelName":"info","time":"2022-10-06T01:32:59.860Z","pid":28648,"hostname":"santou","name":"linebacker","traceId":"21541684477701","requestMethod":"POST","requestUrl":"/api/backup-requests","requesterIp":"::ffff:127.0.0.1","statusCode":202,"contentLength":"291","responseTimeMs":"185","msg":"Responded"}
{"level":20,"levelNumber":20,"levelName":"debug","time":"2022-10-06T01:32:59.889Z","pid":28648,"hostname":"santou","name":"linebacker","eventName":"BackupRequestAllowed","aggregateName":"BackupRequest","aggregateId":"GMNAZauRHujsfzuYlQ2no","msg":"added event"}
{"level":20,"levelNumber":20,"levelName":"debug","time":"2022-10-06T01:32:59.923Z","pid":28648,"hostname":"santou","name":"linebacker","eventName":"BackupRequestAllowed","handerName":"bound onBackupRequestAllowed","msg":"publish event"}
{"level":20,"levelNumber":20,"levelName":"debug","time":"2022-10-06T01:32:59.923Z","pid":28648,"hostname":"santou","name":"linebacker","moduleName":"BackupRequestAllowedSubscriber.ts","functionName":"onBackupRequestAllowed","backupRequestId":"GMNAZauRHujsfzuYlQ2no","eventName":"BackupRequestAllowed","msg":"execute use case"}
{"level":30,"levelNumber":30,"levelName":"info","time":"2022-10-06T01:32:59.924Z","pid":28648,"hostname":"santou","name":"linebacker","moduleName":"BackupRequestCreatedSubscriber.ts","functionName":"onBackupRequestCreated","backupRequestId":"GMNAZauRHujsfzuYlQ2no","eventName":"BackupRequestCreated","resultType":"ok","value":{"backupRequestId":"GMNAZauRHujsfzuYlQ2no","backupJobId":"993aca31-453c-4c6c-878a-82551e2310a1","dataDate":"2022-06-30T00:00:00.000Z","preparedDataPathName":"data-location","getOnStartFlag":true,"transportTypeCode":"HTTP","backupProviderCode":"CloudA","storagePathName":"storagePathName","statusTypeCode":"Allowed","receivedTimestamp":"2022-10-06T01:32:59.770Z","checkedTimestamp":"2022-10-06T01:32:59.889Z","requesterId":"tWSD9EUKe7MBt3sGDwbkGhFWVshIQrmk@clients"},"msg":"Use case ok"}
{"level":50,"levelNumber":50,"levelName":"error","time":"2022-10-06T01:33:00.109Z","pid":28648,"hostname":"santou","name":"linebacker","moduleName":"BackupRequestAllowedSubscriber.ts","functionName":"onBackupRequestAllowed","backupRequestId":"GMNAZauRHujsfzuYlQ2no","eventName":"BackupRequestAllowed","resultType":"error","error":{"errorData":{"error":{"type":"system","errno":"ECONNREFUSED","code":"ECONNREFUSED"},"moduleName":"AzureQueue.ts","functionName":"sendMessage","isConnectFailure":true,"serviceName":"AzureQueue"},"name":"SDKError","code":"SDK","callerMessage":"request to http://127.0.0.1:10001/devstoreaccount1/allowed-backup-requests/messages?timeout=15 failed, reason: connect ECONNREFUSED 127.0.0.1:10001","callerLine":"at Function.sendMessage (/home/jmjf/dev/linebacker/src/infrastructure/AzureQueue.ts:217:15)","functionName":"Function.sendMessage","fileName":"AzureQueue"},"msg":"Use case error"}
{"level":20,"levelNumber":20,"levelName":"debug","time":"2022-10-06T01:33:30.312Z","pid":28648,"hostname":"santou","name":"linebacker","eventName":"BackupRequestAllowed","handerName":"bound onBackupRequestAllowed","msg":"publish event"}
{"level":20,"levelNumber":20,"levelName":"debug","time":"2022-10-06T01:33:30.313Z","pid":28648,"hostname":"santou","name":"linebacker","moduleName":"BackupRequestAllowedSubscriber.ts","functionName":"onBackupRequestAllowed","backupRequestId":"GMNAZauRHujsfzuYlQ2no","eventName":"BackupRequestAllowed","msg":"execute use case"}
{"level":30,"levelNumber":30,"levelName":"info","time":"2022-10-06T01:33:30.390Z","pid":28648,"hostname":"santou","name":"linebacker","moduleName":"BackupRequestAllowedSubscriber.ts","functionName":"onBackupRequestAllowed","backupRequestId":"GMNAZauRHujsfzuYlQ2no","eventName":"BackupRequestAllowed","resultType":"ok","value":{"backupRequestId":"GMNAZauRHujsfzuYlQ2no","backupJobId":"993aca31-453c-4c6c-878a-82551e2310a1","dataDate":"2022-06-30T00:00:00.000Z","preparedDataPathName":"data-location","getOnStartFlag":true,"transportTypeCode":"HTTP","backupProviderCode":"CloudA","storagePathName":"storagePathName","statusTypeCode":"Sent","receivedTimestamp":"2022-10-06T01:32:59.770Z","checkedTimestamp":"2022-10-06T01:32:59.889Z","sentToInterfaceTimestamp":"2022-10-06T01:33:30.368Z","requesterId":"tWSD9EUKe7MBt3sGDwbkGhFWVshIQrmk@clients"},"msg":"Use case ok"}