[
https://issues.apache.org/jira/browse/UNOMI-811?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17798054#comment-17798054
]
David Griffon commented on UNOMI-811:
-------------------------------------
Now logs related to missing schema on event type is displayed in debug.
To enable debug, use the following command into karaf console:
{code}
log:set DEBUG org.apache.unomi.schema
{code}
> Improve logs when an event is being rejected
> --------------------------------------------
>
> Key: UNOMI-811
> URL: https://issues.apache.org/jira/browse/UNOMI-811
> Project: Apache Unomi
> Issue Type: Bug
> Reporter: Romain Gauthier
> Assignee: David Griffon
> Priority: Major
> Fix For: unomi-2.5.0
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> {code:java}
> An event was rejected - switch to DEBUG log level for more information{code}
> should be changed to
> {code:java}
> An event was rejected - switch to DEBUG log level for more information OR
> test the payload of your event against the "validateEvent" endpoint.{code}
> In the case where the event type is not found, and if possible, the log
> should be changed to:
> {code:java}
> An event was rejected - Schema not found for event type: " + eventType
> {code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)