473,804 Members | 3,790 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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=O n, 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 1732
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=O n, 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
3589
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 database. Problem is that this part of the system is causing the VM to run out of memory and die. I put JProfiler on it and narrowed it down to the stats module and more
0
2891
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 syntax ? Or another syntax is more appropriated ?
3
2522
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 Blob field is attempted, the char field type is limited to 255 characters and JBoss try to create a longuer field. How can I do to pass over this error ? Best regards
1
4095
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". Jboss start, quit ... and all other notifications and warnings should be ignored. Does anybody have a good example how to create / define own loglevel? Plz email me or write it here: xun.ling@gmx.de
2
2113
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 of job - for example declaring a variable and do select using it. Than my java program find the necessary job unit in a file and pass it to jdbc driver.
1
1411
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 transactions using ADO.NET. Is there a compatible tool within .NET to JBoss, where the transactions are managed for you? Thanks in advance. Mark
0
1803
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 "run.bat" at the jboss bin directory, from windows DOS command-line). IN WINDOWS-XP, I USED THE TWO FOLLOWING COMPILERS DIFFERENTLY AT THE DOS COMMAND-LINE:
1
2064
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 java.net.ServerSocket.bind(ServerSocket.java:319) at java.net.ServerSocket.<init>(ServerSocket.java:185) at javax.net.DefaultServerSocketFactory.createServerSocket(ServerSocketFactory.java:169) at org.jnp.server.Main.initBootstrapListener(Main.java:354) at...
1
6403
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
9705
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10323
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10311
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9138
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7613
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5516
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
4292
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3813
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2988
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.