[TAILING] Tailing last 50 lines for [app] process (change the value with --lines option)
/home/hscodes/.pm2/logs/app-error.log last 50 lines:
1|app      |       'access-control-allow-origin': '*',
1|app      |       'access-control-allow-credentials': 'true',
1|app      |       'access-control-allow-headers': '*',
1|app      |       'access-control-allow-methods': 'PUT, POST, GET, DELETE, PATCH, OPTIONS',
1|app      |       'x-envoy-upstream-service-time': '2',
1|app      |       'x-sib-server': 'srv-pr-online-rancher-worker-7.onl.51b.tech',
1|app      |       'x-content-type-options': 'nosniff',
1|app      |       'x-xss-protection': '1',
1|app      |       'cf-cache-status': 'DYNAMIC',
1|app      |       'expect-ct': 'max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"',
1|app      |       server: 'cloudflare',
1|app      |       'cf-ray': '7426d9aa6c5e46cd-SIN'
1|app      |     },
1|app      |     statusCode: 401,
1|app      |     status: 401,
1|app      |     statusType: 4,
1|app      |     info: false,
1|app      |     ok: false,
1|app      |     redirect: false,
1|app      |     clientError: true,
1|app      |     serverError: false,
1|app      |     error: Error: cannot POST /v3/smtp/email (401)
1|app      |         at Response.toError (/home/hscodes/Api/node_modules/superagent/lib/node/response.js:95:13)
1|app      |         at ResponseBase._setStatusProperties (/home/hscodes/Api/node_modules/superagent/lib/response-base.js:123:16)
1|app      |         at new Response (/home/hscodes/Api/node_modules/superagent/lib/node/response.js:41:8)
1|app      |         at Request._emitResponse (/home/hscodes/Api/node_modules/superagent/lib/node/index.js:728:20)
1|app      |         at /home/hscodes/Api/node_modules/superagent/lib/node/index.js:891:38
1|app      |         at IncomingMessage.<anonymous> (/home/hscodes/Api/node_modules/superagent/lib/node/parsers/json.js:17:7)
1|app      |         at IncomingMessage.emit (events.js:214:15)
1|app      |         at IncomingMessage.EventEmitter.emit (domain.js:476:20)
1|app      |         at endReadableNT (_stream_readable.js:1178:12)
1|app      |         at processTicksAndRejections (internal/process/task_queues.js:77:11) {
1|app      |       status: 401,
1|app      |       text: '{"message":"Key not found","code":"unauthorized"}\n',
1|app      |       method: 'POST',
1|app      |       path: '/v3/smtp/email'
1|app      |     },
1|app      |     accepted: false,
1|app      |     noContent: false,
1|app      |     badRequest: false,
1|app      |     unauthorized: true,
1|app      |     notAcceptable: false,
1|app      |     forbidden: false,
1|app      |     notFound: false,
1|app      |     type: 'application/json',
1|app      |     links: {},
1|app      |     setEncoding: [Function: bound ],
1|app      |     redirects: []
1|app      |   }
1|app      | }

/home/hscodes/.pm2/logs/app-out.log last 50 lines:
1|app      |   last_nm: 'Issa',
1|app      |   middle_nm: 'Teja',
1|app      |   usr_ph: 9949538950,
1|app      |   usr_email: 'aakarsh.test@yopmail.com',
1|app      |   usr_address: 'Random@123',
1|app      |   usr_password: 'Random@123',
1|app      |   usr_continent: 2,
1|app      |   usr_country: 101,
1|app      |   usr_state: 2,
1|app      |   usr_pincode: 517325,
1|app      |   isd_ph_code: 91,
1|app      |   organisation: 'signi',
1|app      |   bestknown: 'Importer',
1|app      |   referred_by: '0',
1|app      |   lat: 17.411,
1|app      |   lng: 78.4487
1|app      | }
1|app      | SELECT u.* ,c.country_email,c.continent_email from usr_dtl_t u
1|app      |     join country_dtl_t c on c.country_id=u.usr_country
1|app      |     where u.usr_email='aakarsh.test@yopmail.com' or u.usr_ph='9949538950';
1|app      | {
1|app      |   usr_nm: 'Aakarsh',
1|app      |   salutation: 'Mr.',
1|app      |   gender: 'Male',
1|app      |   last_nm: 'Issa',
1|app      |   middle_nm: 'Teja',
1|app      |   usr_ph: 9949538950,
1|app      |   usr_email: 'aakarsh.test@yopmail.com',
1|app      |   usr_address: 'Random@123',
1|app      |   usr_password: 'Random@123',
1|app      |   usr_continent: 2,
1|app      |   usr_country: 101,
1|app      |   usr_state: 2,
1|app      |   usr_pincode: 517325,
1|app      |   isd_ph_code: 91,
1|app      |   organisation: 'signi',
1|app      |   bestknown: 'Importer',
1|app      |   referred_by: '0',
1|app      |   lat: 17.411,
1|app      |   lng: 78.4487
1|app      | }
1|app      | INSERT INTO usr_dtl_t(usr_nm,salutation,gender,last_nm,middle_nm,usr_ph,usr_email,usr_address,usr_password,usr_continent,usr_country,usr_state,usr_pincode,std_cd,referred_by,organisation,lat,lng,d_in,usr_i_ts,bestknown) values ('Aakarsh','Mr.','Male','Issa','Teja','9949538950','aakarsh.test@yopmail.com','Random@123','Random@123','2','101','2','517325','91','0','signi','17.411','78.4487','0','2022-08-29 22:31:40','Importer');
1|app      | 981
1|app      | https://hscodes.world/#/welcome;k_EAIaIQobChMI_grid_4S7oZb45gIVzsreCh2kRAucEAAYASAAEgIFcfD_BwE_k_&ext_vrnchi&gclidEAIaIQobChMI_4S7oZb45gIVzsreCh2kRAucEAAYASAAEgIFcfD_BwE=981
1|app      | { indicator: 1 }
1|app      | { indicator: 1 }
1|app      | select * from hscodes_banner_dtl_t where d_in=0 order by banner_id desc ;
1|app      | SELECT country_id,country_cd,country_nm,isd_ph_code,region_id,continent_id FROM country_dtl_t where  d_in=0;
1|app      | SELECT continent_id, continent_nm FROM continent_dtl_t where d_in=0;
1|app      | SELECT country_id,country_cd,country_nm,isd_ph_code,region_id,continent_id FROM country_dtl_t where  d_in=0;

