Romain Gauthier created UNOMI-815:
-------------------------------------
Summary: Add scope, event type & event id in some logs
Key: UNOMI-815
URL: https://issues.apache.org/jira/browse/UNOMI-815
Project: Apache Unomi
Issue Type: Improvement
Reporter: Romain Gauthier
Hello,
I'm facing some logs and I have trouble finding what is causing them.
The log is:
{code:java}
javax.ws.rs.BadRequestException: Couldn't find profileId, sessionId or
personaId in incoming request!
at
org.apache.unomi.rest.service.impl.RestServiceUtilsImpl.initEventsRequest(RestServiceUtilsImpl.java:117)
{code}
It is generated here:
[https://github.com/apache/unomi/blob/98e4d87c827b05e817e0538793a8a34e5434a00a/rest/src/main/java/org/apache/unomi/rest/service/impl/RestServiceUtilsImpl.java#L113]
Is it possible to add the event type as well as the scope in this log to make
it easier to trace it back to its source?
Thanks
--
This message was sent by Atlassian Jira
(v8.20.10#820010)