Skip to main content

All Questions

Tagged with
1 vote
0 answers
67 views

Use a custom logger, with go echo framework

i am trying to apply a format to my loggin, with request specific details in the format. EX: when i log "Test log" I should expected to be logged like: 2024-06-22T19:36:48+01:00 INFO [...
João Calhau's user avatar
0 votes
0 answers
28 views

Log REST API calls in Python

I am working on a data processing task in an enterprise environment with Python3 installed on a client-side Windows Jump server. The data, which I need to download regularly from a third-party ...
gale44's user avatar
  • 1
0 votes
2 answers
89 views

how to handle Flutter Rest API call error with Dio

When working with Nested json object or Complex json using Dio. Give me this error type 'Null' is not a subtype of type 'String' My question is Null Safety is the first thing thats i am doing but if ...
Md Eusuf Uddin's user avatar
1 vote
0 answers
55 views

How to log request/response using javax.ws.rs.client.Invocation?

I'd like to log all "outgoing" requests from my app. This way I can debug monitor/debug the app easier, because I usually need to reconstruct the requests in Postman/curl. Is there a ...
Lucas Pottersky's user avatar
0 votes
0 answers
39 views

How do you log actions on the backend?

I am trying to implement action logging on an employee management system I'm working on for my company, below is how I implemented it: Modifying the global Request object: declare global { namespace ...
Rammah_N's user avatar
1 vote
1 answer
36 views

How to correlate REST errors with log entries using slf4j?

In backend code, when a REST endpoint method produces an exception, the endpoint should return a payload with an appropriate http error status, such as 500. It is also a good practice that the payload ...
Adam Wise's user avatar
  • 2,180
2 votes
1 answer
743 views

How to log REST API request and response metrics in Spring Boot application

I want to capture and log the details of every API request and response including the error/exceptions in my Spring Boot application in a JSON format. Details such as Status Code, Exception, Timestamp ...
Keerthana Hemachandran's user avatar
0 votes
0 answers
219 views

Correlation/request_ids are over lapped in FastAPI

I want to add a correlation-id or request-id in my log messages to see the full traceability. But request IDs overlapped once I called the /wait API. Basically, I check the behaviour if some API take ...
Abdul Basit's user avatar
  • 1,043
0 votes
1 answer
210 views

Apicurio registry client - enable logging of REST communication via OkHttpClient

I have a Spring Boot application which sends some message to Kafka. We use Apicurio registry provided by our customer to manage AVRO schema for message serialization. The application uses Apicurio ...
Tomáš Záluský's user avatar
0 votes
0 answers
257 views

Winston <> AWS Cloudwatch log stream name

so i am using winston and winston-aws-coudwatch npm packages for logging. I have successfully been. able to log to cloudwatch to a particular logstream which is generated by the Date package. Now what ...
Atharva Deshpande's user avatar
0 votes
2 answers
829 views

Log REST-requests to file with unique request-id

Lets say I have a simple REST-API written in .net 6 which logs to a log-file on the lokal disk. During the processing of the request, multiple log-entries are generated. For example, let's say we have ...
mamen's user avatar
  • 1,469
1 vote
0 answers
58 views

How to interpret binary log output from Podman REST API?

When reading logs from the Podman REST API, the output is obviously binary. I realized that each log entry has a 8 byte long prefix. Something like this: 01 00 00 00 00 00 00 45 [... 69 bytes long log ...
skylar's user avatar
  • 51
0 votes
1 answer
1k views

How to log only errors like 404 with chi in go?

I'm using chi with our Go webservices. How to configure the logger (middleware) so it only logs requests that ended up with errors (like 404) but it doesn't log successful requests (with status code ...
Jacob's user avatar
  • 351
0 votes
2 answers
53 views

How to identify and log simultaneous api requests?

I developed a Rest API with some logs (requests, responses, more info and errors) I saw that if there are simultaneous requests, logs mix and you cant follow the execution in logs because you dont ...
Jose Lizarraga's user avatar
1 vote
1 answer
165 views

How can I enable logging of Rest Api requests for incorrect data conversion in the request

I have an endpoint that accepts @ResponseBody. But when I sent the data, I could not understand why the status 400 was coming to me in response. There was nothing in the logs that could tell me. ...
skyho's user avatar
  • 1,815

15 30 50 per page
1
2 3 4 5
8