Skip to content

Commit

Permalink
valide
Browse files Browse the repository at this point in the history
  • Loading branch information
morningstar-47 committed Jan 11, 2024
1 parent 4973657 commit a38b597
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
1 change: 0 additions & 1 deletion .env
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,4 @@ JWT_LIFETIME_REFRESH=86400
WINDOW_MS=2 * 60 * 1000

# Environnement de l'application
# NODE_ENV=development
NODE_ENV=production
6 changes: 6 additions & 0 deletions logs/access.log
Original file line number Diff line number Diff line change
Expand Up @@ -31,3 +31,9 @@
{"level":"error","message":"Connection initial is not defined","stack":"ReferenceError: initial is not defined\n at connectToDb (file:///Users/mac/Documents/GitHub/back-end/server.js:96:5)\n at process.processTicksAndRejections (node:internal/process/task_queues:95:5)"}
{"level":"error","message":"Connection initial is not defined","stack":"ReferenceError: initial is not defined\n at connectToDb (file:///Users/mac/Documents/GitHub/back-end/server.js:96:5)\n at process.processTicksAndRejections (node:internal/process/task_queues:95:5)"}
{"level":"error","message":"Connection logger is not defined","stack":"ReferenceError: logger is not defined\n at initial (file:///Users/mac/Documents/GitHub/back-end/config/db.config.js:23:5)\n at connectToDb (file:///Users/mac/Documents/GitHub/back-end/server.js:97:11)\n at process.processTicksAndRejections (node:internal/process/task_queues:95:5)"}
{"level":"info","message":"::ffff:127.0.0.1 - - [29/Dec/2023:08:12:57 +0000] \"POST /api/auth/signin HTTP/1.1\" 200 373 \"-\" \"Thunder Client (https://www.thunderclient.com)\"\n"}
{"level":"info","message":"::ffff:127.0.0.1 - - [29/Dec/2023:08:13:25 +0000] \"GET /api/appointments HTTP/1.1\" 403 46 \"-\" \"Thunder Client (https://www.thunderclient.com)\"\n"}
{"level":"info","message":"::ffff:127.0.0.1 - - [29/Dec/2023:08:15:03 +0000] \"GET /api/appointments HTTP/1.1\" 200 167 \"-\" \"Thunder Client (https://www.thunderclient.com)\"\n"}
{"level":"info","message":"::ffff:127.0.0.1 - - [29/Dec/2023:09:15:39 +0000] \"GET /api/appointments HTTP/1.1\" 200 167 \"-\" \"Thunder Client (https://www.thunderclient.com)\"\n"}
{"level":"info","message":"::ffff:127.0.0.1 - - [29/Dec/2023:11:45:49 +0000] \"GET /api/appointments HTTP/1.1\" 401 52 \"-\" \"Thunder Client (https://www.thunderclient.com)\"\n"}
{"level":"info","message":"::ffff:127.0.0.1 - - [29/Dec/2023:12:12:18 +0000] \"GET /api/appointments HTTP/1.1\" 401 52 \"-\" \"Thunder Client (https://www.thunderclient.com)\"\n"}

0 comments on commit a38b597

Please sign in to comment.