Project

General

Profile

Actions

New feature / Change #7770

closed

Logs format update for Backend

Added by Olivier Bitsch 4 months ago. Updated 10 days ago.

Status:
Done
Priority:
Normal
Category:
-
Target version:
Start date:
10/29/2024
Due date:
% Done:

0%

Estimated time:
24:00 h

Description

Logs format update for Backend

Do no put any sensitive information like email, name, phone number, invite token. Always use Mongo ID.

LOGLEVEL=info

  1. silent
  2. error : whenever something prevent HCW to work properly (no json info, e.g. mongo URI not configured)
  3. warn : whenever something is good to know by sys admin (no json info, e.g. SMS not configured)
  4. debug : do no use
  5. info : whenever something normal is happening (no json info, e.g. Invite ID sent with method)
  6. verbose : whenever something should be shown (json info, e.g. SMS json sent to API, can contain sensitive info).
  7. silly : do no use

Having at least this info in logs under info level.

  • Invitation sent
  • Scheduler event
  • UID of the user
  • Waiting session started. Call started, Call ended
  • Message/SMS/Whatsapp sent (e.g Invite abcd-1234 by Whatsapp sent through Twillio id abcd1234 with status code 200)
Actions #1

Updated by Olivier Bitsch 4 months ago

  • Target version changed from 5.x.x to 5.2.0
Actions #2

Updated by Olivier Bitsch 4 months ago

  • Invitation sent
  • Scheduler event
  • UID of the user
  • Waiting session started . Call started, Call ended
  • Message/SMS/Whatsapp sent
Actions #3

Updated by Olivier Bitsch 4 months ago

  • Estimated time set to 16:00 h
Actions #4

Updated by Olivier Bitsch 4 months ago

  • Estimated time changed from 16:00 h to 24:00 h
Actions #5

Updated by Olivier Bitsch 3 months ago

  • Assignee set to Gor Grigoryan
Actions #6

Updated by Olivier Bitsch 3 months ago

  • Status changed from In Study to Offer accepted
Actions #7

Updated by Olivier Bitsch about 1 month ago

  • Description updated (diff)
Actions #8

Updated by Olivier Bitsch about 1 month ago

  • Description updated (diff)
Actions #9

Updated by Olivier Bitsch about 1 month ago

  • Description updated (diff)
Actions #10

Updated by Gor Grigoryan about 1 month ago

  • Assignee changed from Gor Grigoryan to Olivier Bitsch
  • Status changed from Offer accepted to Testing
Actions #11

Updated by Olivier Bitsch 10 days ago

  • Status changed from Testing to Done
Actions

Also available in: Atom PDF