Another thing that may be missing in Markus's setup is a logger implementation 
binding. SLF4J is just a proxy to another logger after all. So if you imported 
"slf4j-simple", remove that import, and import the actual logger impl. E.g. 
Logback (John's example is based on Log4J - yet another popular logger):

<dependency>
   <groupId>ch.qos.logback</groupId>
   <artifactId>logback-classic</artifactId>
</dependency>

SLF4J discovers it automatically and you'll be able to control log levels per 
Logback documentation [1] (or Log4J if you decided to use that).

Andrus

[1] http://logback.qos.ch/manual/index.html 


> On Oct 30, 2019, at 6:14 PM, John Huss <johnth...@gmail.com> wrote:
> 
> log4j.logger.org.apache.cayenne.log.JdbcEventLogger=INFO
> 
> On Wed, Oct 30, 2019 at 2:32 AM Markus Reich <reich.mar...@gmail.com> wrote:
> 
>> Hi,
>> 
>> since the move to slf4j I'm not able to control the log level anymore. As I
>> couldn't find any documentation, my last hope is the community :-)
>> 
>> I'm no logging expert :-/
>> 
>> best regards
>> Meex
>> 

Reply via email to