[logback-user] Help Logback and postgreSQL

Ceki Gülcü ceki at qos.ch
Thu Mar 4 15:57:38 CET 2010


Are you seeing any status messages?

On 04/03/2010 3:49 PM, Mohammad Haider wrote:
> Hi,
>
> I have created three tables for logback according to documentation.
>
> I have the following config. file:
> <?xml version="1.0" encoding="UTF-8"?>
> <configuration debug="true" scan="true" scanPeriod="30 seconds">
> <appender name="DB" class="ch.qos.logback.classic.db.DBAppender">
> <connectionSource
> class="ch.qos.logback.core.db.DriverManagerConnectionSource">
> <driverClass>org.postgresql.Driver</driverClass>
> <url>jdbc:postgresql://localhost:5432/tips_log</url>
> <user>postgres</user>
> <password>test</password>
> </connectionSource>
> </appender>
>
> <root level="debug">
> <appender-ref ref="DB"/>
> </root>
> </configuration>
>
> In my code I have put simple logger.debug("DB test");.
> However, I did not see any log data in the tables.
>
> Can anyone please help about this issue? Why am I not getting any log
> data in the table?



More information about the Logback-user mailing list