jcilacad / aeroplanner-rest-api

Flight Booking Application RESTful API
Apache License 2.0
0 stars 2 forks source link

Add logger with levels #99

Closed panagiotisbellias closed 6 months ago

panagiotisbellias commented 6 months ago

After these are completed:

Note: check before refactoring for the latest changes

panagiotisbellias commented 6 months ago

Hello,

I'm stuck in testing all the logging conditions. Are you currently able to login locally? I tried with the super admin configured in env.properties but 403 is raised and the authentication header is null. Should I pass some bearer token as header? This isn't proper for register/login operations. Waiting to hearing from you, thanks

jcilacad commented 6 months ago

I can log in locally. Here’s a sample of my env.properties

image

and how I log in using Postman.

image

When logging in, don’t include the bearer token in the header. You’ll get the token from the response after logging in. Sorry for the late response, I’ve been busy with graduation paperwork.

panagiotisbellias commented 6 months ago

I can log in locally. Here’s a sample of my env.properties

image

and how I log in using Postman.

image

When logging in, don’t include the bearer token in the header. You’ll get the token from the response after logging in. Sorry for the late response, I’ve been busy with graduation paperwork.

Oh I had omitted the /api/v1 substring

panagiotisbellias commented 6 months ago

Done