siddhi-io / siddhi

Stream Processing and Complex Event Processing Engine
http://siddhi.io
Apache License 2.0
1.52k stars 527 forks source link

No logs visible when running Sidhi as a Java app #1838

Open alturkovic opened 5 months ago

alturkovic commented 5 months ago

Description: I have copy pasted the Java example from here but I do not see any logs being produced. However, if I change the EventPrinter.print(events) with a custom System.out.println statement, I can see the events being produced.

Why is Siddhi not logging events? I even tried adding a log sink and no logs are produced from it, even though I can intercept them with a callback.

Affected Siddhi Version: 5.1.30

OS, DB, other environment details and versions: Java 8

Steps to reproduce: Run the example from the docs linked above with a clean project using the siddhi-core dependency and Java 8.