Could you turn on show queries in PostgreSQL and check what logback is doing?<div><br></div><div><a href="http://www.postgresql.org/docs/current/static/runtime-config-logging.html">http://www.postgresql.org/docs/current/static/runtime-config-logging.html</a> documents the log_statement configuration element that you&#39;d need to fiddle with to get that working.</div>

<div><br></div><div>Nik<br><br><div class="gmail_quote">On Thu, Mar 4, 2010 at 10:05 AM, Mohammad Haider <span dir="ltr">&lt;<a href="mailto:mohammadh@lashpoint.com">mohammadh@lashpoint.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

<br>
Yes, the status message is:<br>
<br>
Driver name=PostgreSQL Native Driver<br>
Driver version=PostgreSQL 8.4 JDBC3 (build 701)<br>
supportsGetGeneratedKeys=true<br>
true<br>
11:01:54,843 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Found resource [logback-test.xml] at [file:/C:/Bids_WrkSpace/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/TIPS/WEB-INF/classes/logback-test.xml]<br>


11:01:55,015 |-INFO in ch.qos.logback.classic.joran.action.ConfigurationAction - Setting ReconfigureOnChangeFilter scanning period to 30 seconds<br>
11:01:55,015 |-INFO in ch.qos.logback.classic.turbo.ReconfigureOnChangeFilter@17e845a - Will scan for changes in file [C:\Bids_WrkSpace\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\TIPS\WEB-INF\classes\logback-test.xml] every 30 seconds.<br>


11:01:55,015 |-INFO in ch.qos.logback.classic.joran.action.ConfigurationAction - Adding ReconfigureOnChangeFilter as a turbo filter<br>
11:01:55,140 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - About to instantiate appender of type [ch.qos.logback.classic.db.DBAppender]<br>
11:01:55,140 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - Naming appender as [DB]<br>
11:01:55,156 |-INFO in ch.qos.logback.core.joran.action.NestedComplexPropertyIA - Pushing component [connectionSource] on top of the object stack.<br>
11:01:55,296 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - Popping appender named [DB] from the object stack<br>
11:01:55,296 |-INFO in ch.qos.logback.classic.joran.action.RootLoggerAction - Setting level of ROOT logger to DEBUG<br>
11:01:55,296 |-INFO in ch.qos.logback.core.joran.action.AppenderRefAction - Attaching appender named [DB] to Logger[ROOT]<br>
11:01:55,312 |-INFO in ch.qos.logback.classic.joran.action.ConfigurationAction - End of configuration.<div><div></div><div class="h5"><br>
<br>
<br>
Ceki Gülcü wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Are you seeing any status messages?<br>
<br>
On 04/03/2010 3:49 PM, Mohammad Haider wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi,<br>
<br>
I have created three tables for logback according to documentation.<br>
<br>
I have the following config. file:<br>
&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;<br>
&lt;configuration debug=&quot;true&quot; scan=&quot;true&quot; scanPeriod=&quot;30 seconds&quot;&gt;<br>
&lt;appender name=&quot;DB&quot; class=&quot;ch.qos.logback.classic.db.DBAppender&quot;&gt;<br>
&lt;connectionSource<br>
class=&quot;ch.qos.logback.core.db.DriverManagerConnectionSource&quot;&gt;<br>
&lt;driverClass&gt;org.postgresql.Driver&lt;/driverClass&gt;<br>
&lt;url&gt;jdbc:postgresql://localhost:5432/tips_log&lt;/url&gt;<br>
&lt;user&gt;postgres&lt;/user&gt;<br>
&lt;password&gt;test&lt;/password&gt;<br>
&lt;/connectionSource&gt;<br>
&lt;/appender&gt;<br>
<br>
&lt;root level=&quot;debug&quot;&gt;<br>
&lt;appender-ref ref=&quot;DB&quot;/&gt;<br>
&lt;/root&gt;<br>
&lt;/configuration&gt;<br>
<br>
In my code I have put simple logger.debug(&quot;DB test&quot;);.<br>
However, I did not see any log data in the tables.<br>
<br>
Can anyone please help about this issue? Why am I not getting any log<br>
data in the table?<br>
</blockquote>
<br>
_______________________________________________<br>
Logback-user mailing list<br>
<a href="mailto:Logback-user@qos.ch" target="_blank">Logback-user@qos.ch</a><br>
<a href="http://qos.ch/mailman/listinfo/logback-user" target="_blank">http://qos.ch/mailman/listinfo/logback-user</a><br>
</blockquote>
<br>
<br></div></div>
-- <br>
Thanks<br>
* Mohammad Firoj Haider*<br>
Software Developer<br>
LashPoint Inc &lt;<a href="http://www.lashpoint.com" target="_blank">http://www.lashpoint.com</a>&gt;<br>
Email: <a href="mailto:mohammadh@lashpoint.com" target="_blank">mohammadh@lashpoint.com</a> &lt;mailto:<a href="mailto:mohammadh@lashpoint.com" target="_blank">mohammadh@lashpoint.com</a>&gt;<br>
Blog: The Daily Programming &lt;<a href="http://www.codinglogs.blogspot.com/" target="_blank">http://www.codinglogs.blogspot.com/</a>&gt;<br>
<br>
 Lashpoint mini logo<div><div></div><div class="h5"><br>
<br>
<br>
_______________________________________________<br>
Logback-user mailing list<br>
<a href="mailto:Logback-user@qos.ch" target="_blank">Logback-user@qos.ch</a><br>
<a href="http://qos.ch/mailman/listinfo/logback-user" target="_blank">http://qos.ch/mailman/listinfo/logback-user</a><br>
</div></div></blockquote></div><br></div>