473,401 Members | 2,068 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,401 software developers and data experts.

Loggin SQL Statements from JBOSS/JDBC

Are there settings in PostgreSQL to log SQL Statements from client apps?

Is yes, where are they logged to?

We set log_statement=On, but where does the log get sritten to?

Thanks,
Thomas LeBlanc

__________________________________________________ _______________
MSN Shopping upgraded for the holidays! Snappier product search...
http://shopping.msn.com
---------------------------(end of broadcast)---------------------------
TIP 7: don't forget to increase your free space map settings

Nov 12 '05 #1
1 1694
On Friday 14 November 2003 16:15, Thomas LeBlanc wrote:
Are there settings in PostgreSQL to log SQL Statements from client apps?

Is yes, where are they logged to?

We set log_statement=On, but where does the log get sritten to?


Depends on how you start PG - you'll need to check your startup scripts.

If you want to, you can set it up to use syslog (set syslog=2, see the
relevant section of the manuals)

--
Richard Huxton
Archonet Ltd

---------------------------(end of broadcast)---------------------------
TIP 9: the planner will ignore your desire to choose an index scan if your
joining column's datatypes do not match

Nov 12 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Greg | last post by:
Hello... Our system uses JBoss 3.2 with MySQL. Part of the system is a stats collection process that fires as a TimerListener every 15 sec or so. It grabs some info and stuffs it into a...
0
by: Bernard Koninckx | last post by:
Hi everybody, I have some question about jBoss. First ------ If I would configure the data source into bean-side. Wich syntax from the bean descriptor have been used ? It's the correct...
3
by: Bernard Koninckx | last post by:
Hello everybody, I've configured mySQL as datasource for JBoss. I've a problem, when JBoss automaticaly generate a table for the bean. mySQL send an error. The fields length is too long and a...
1
by: XunLing | last post by:
hi, im using the xml appender for log4j and just found out how to use jdbc appender. Now i get all my system notifications into the database but i want to get only the nessasery user-"actions"....
2
by: mskorik | last post by:
Hello all, Is it possible to pass 2 SQL statements in a single call ? I keep SQL statements in a text file and usually there are couples of several SQL statements that represent a named unit...
1
by: mark | last post by:
In Java, you can use JBoss or similar to host EJB that will manage your transactions for you. You could, of course, write your own transactions using JDBC. In .NET, we can specify our own...
0
by: nuhu jibrin | last post by:
Good day all, Please, i can't compile my ejb classes in JBoss-4.0.5.GA or JBoss-4.0.2 after proper installation (because i can log on to the server via http://localhost:8080/ after using ...
1
by: khatarnakkhatri | last post by:
java.net.BindException: Address already in use: JVM_Bind at java.net.PlainSocketImpl.socketBind(Native Method) at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:359) at...
1
by: ziycon | last post by:
I'm getting the below error when trying to create a connection pool using jboss: Anyone have any ideas as to whats going on or how to resolve it?
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.