dbTalk Databases Forums  

SQLnet logging/tracing

comp.databases.oracle.misc comp.databases.oracle.misc


Discuss SQLnet logging/tracing in the comp.databases.oracle.misc forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
grz01
 
Posts: n/a

Default SQLnet logging/tracing - 05-12-2008 , 11:20 AM







Hello,

Need some quick help...

I have an XP-machine with Oracle 10g,
both EE and XE installed as standard "starter databases" with the
Installers.

Now I wanted to turn on sql-net tracing/logging,
so I created two directories C:\oracle\log and C:\oraclexe\log
and added the lines below to %ORACLE_HOME%\NETWORK\ADMIN\sqlnet.ora
on both installations.

LOG_DIRECTORY_CLIENT=c:\oracle\log\
LOG_FILE_CLIENT=client_log
TRACE_DIRECTORY_CLIENT=c:\oracle\log\
TRACE_FILE_CLIENT=client_trace
TRACE_FILELEN_CLIENT=10000
TRACE_FILENO_CLIENT=5
TRACE_LEVEL_CLIENT=16
TRACE_TIMESTAMP_CLIENT=TRUE
TRACE_UNIQUE_CLIENT=TRUE

I have rebooted my machine, and ran some SQL-commands from TOAD and
the
web-interfaces, but nothing ends up in this directory, it is still
empty.

I am obviously missing something trivial?
What else do I need to do?

TIA,
------------------------ grz01


Reply With Quote
  #2  
Old   
fitzjarrell@cox.net
 
Posts: n/a

Default Re: SQLnet logging/tracing - 05-12-2008 , 12:20 PM






On May 12, 11:20*am, grz01 <gr... (AT) spray (DOT) se> wrote:
Quote:
Hello,

Need some quick help...

I have an XP-machine with Oracle 10g,
both EE and XE installed as standard "starter databases" with the
Installers.

Now I wanted to turn on sql-net tracing/logging,
so I created two directories C:\oracle\log and C:\oraclexe\log
and added the lines below to %ORACLE_HOME%\NETWORK\ADMIN\sqlnet.ora
on both installations.

LOG_DIRECTORY_CLIENT=c:\oracle\log\
LOG_FILE_CLIENT=client_log
TRACE_DIRECTORY_CLIENT=c:\oracle\log\
TRACE_FILE_CLIENT=client_trace
TRACE_FILELEN_CLIENT=10000
TRACE_FILENO_CLIENT=5
TRACE_LEVEL_CLIENT=16
TRACE_TIMESTAMP_CLIENT=TRUE
TRACE_UNIQUE_CLIENT=TRUE

I have rebooted my machine, and ran some SQL-commands from TOAD and
the
web-interfaces, but nothing ends up in this directory, it is still
empty.

I am obviously missing something trivial?
What else do I need to do?

TIA,
------------------------ grz01
Did you also apply these changes to the sqlnet.ora files on the
machine where TOAD is installed and the machine where the web-based
application runs? I expect not.


David Fitzjarrell


Reply With Quote
  #3  
Old   
fitzjarrell@cox.net
 
Posts: n/a

Default Re: SQLnet logging/tracing - 05-12-2008 , 12:20 PM



On May 12, 11:20*am, grz01 <gr... (AT) spray (DOT) se> wrote:
Quote:
Hello,

Need some quick help...

I have an XP-machine with Oracle 10g,
both EE and XE installed as standard "starter databases" with the
Installers.

Now I wanted to turn on sql-net tracing/logging,
so I created two directories C:\oracle\log and C:\oraclexe\log
and added the lines below to %ORACLE_HOME%\NETWORK\ADMIN\sqlnet.ora
on both installations.

LOG_DIRECTORY_CLIENT=c:\oracle\log\
LOG_FILE_CLIENT=client_log
TRACE_DIRECTORY_CLIENT=c:\oracle\log\
TRACE_FILE_CLIENT=client_trace
TRACE_FILELEN_CLIENT=10000
TRACE_FILENO_CLIENT=5
TRACE_LEVEL_CLIENT=16
TRACE_TIMESTAMP_CLIENT=TRUE
TRACE_UNIQUE_CLIENT=TRUE

I have rebooted my machine, and ran some SQL-commands from TOAD and
the
web-interfaces, but nothing ends up in this directory, it is still
empty.

I am obviously missing something trivial?
What else do I need to do?

TIA,
------------------------ grz01
Did you also apply these changes to the sqlnet.ora files on the
machine where TOAD is installed and the machine where the web-based
application runs? I expect not.


David Fitzjarrell


Reply With Quote
  #4  
Old   
fitzjarrell@cox.net
 
Posts: n/a

Default Re: SQLnet logging/tracing - 05-12-2008 , 12:20 PM



On May 12, 11:20*am, grz01 <gr... (AT) spray (DOT) se> wrote:
Quote:
Hello,

Need some quick help...

I have an XP-machine with Oracle 10g,
both EE and XE installed as standard "starter databases" with the
Installers.

Now I wanted to turn on sql-net tracing/logging,
so I created two directories C:\oracle\log and C:\oraclexe\log
and added the lines below to %ORACLE_HOME%\NETWORK\ADMIN\sqlnet.ora
on both installations.

LOG_DIRECTORY_CLIENT=c:\oracle\log\
LOG_FILE_CLIENT=client_log
TRACE_DIRECTORY_CLIENT=c:\oracle\log\
TRACE_FILE_CLIENT=client_trace
TRACE_FILELEN_CLIENT=10000
TRACE_FILENO_CLIENT=5
TRACE_LEVEL_CLIENT=16
TRACE_TIMESTAMP_CLIENT=TRUE
TRACE_UNIQUE_CLIENT=TRUE

I have rebooted my machine, and ran some SQL-commands from TOAD and
the
web-interfaces, but nothing ends up in this directory, it is still
empty.

I am obviously missing something trivial?
What else do I need to do?

TIA,
------------------------ grz01
Did you also apply these changes to the sqlnet.ora files on the
machine where TOAD is installed and the machine where the web-based
application runs? I expect not.


David Fitzjarrell


Reply With Quote
  #5  
Old   
fitzjarrell@cox.net
 
Posts: n/a

Default Re: SQLnet logging/tracing - 05-12-2008 , 12:20 PM



On May 12, 11:20*am, grz01 <gr... (AT) spray (DOT) se> wrote:
Quote:
Hello,

Need some quick help...

I have an XP-machine with Oracle 10g,
both EE and XE installed as standard "starter databases" with the
Installers.

Now I wanted to turn on sql-net tracing/logging,
so I created two directories C:\oracle\log and C:\oraclexe\log
and added the lines below to %ORACLE_HOME%\NETWORK\ADMIN\sqlnet.ora
on both installations.

LOG_DIRECTORY_CLIENT=c:\oracle\log\
LOG_FILE_CLIENT=client_log
TRACE_DIRECTORY_CLIENT=c:\oracle\log\
TRACE_FILE_CLIENT=client_trace
TRACE_FILELEN_CLIENT=10000
TRACE_FILENO_CLIENT=5
TRACE_LEVEL_CLIENT=16
TRACE_TIMESTAMP_CLIENT=TRUE
TRACE_UNIQUE_CLIENT=TRUE

I have rebooted my machine, and ran some SQL-commands from TOAD and
the
web-interfaces, but nothing ends up in this directory, it is still
empty.

I am obviously missing something trivial?
What else do I need to do?

TIA,
------------------------ grz01
Did you also apply these changes to the sqlnet.ora files on the
machine where TOAD is installed and the machine where the web-based
application runs? I expect not.


David Fitzjarrell


Reply With Quote
  #6  
Old   
grz01
 
Posts: n/a

Default Re: SQLnet logging/tracing - 05-12-2008 , 02:47 PM



On May 12, 7:20 pm, "fitzjarr... (AT) cox (DOT) net" <orat... (AT) msn (DOT) com> wrote:
Quote:
On May 12, 11:20 am,grz01<gr... (AT) spray (DOT) se> wrote:



Hello,

Need some quick help...

I have an XP-machine with Oracle 10g,
both EE and XE installed as standard "starter databases" with the
Installers.

Now I wanted to turn on sql-net tracing/logging,
so I created two directories C:\oracle\log and C:\oraclexe\log
and added the lines below to %ORACLE_HOME%\NETWORK\ADMIN\sqlnet.ora
on both installations.

LOG_DIRECTORY_CLIENT=c:\oracle\log\
LOG_FILE_CLIENT=client_log
TRACE_DIRECTORY_CLIENT=c:\oracle\log\
TRACE_FILE_CLIENT=client_trace
TRACE_FILELEN_CLIENT=10000
TRACE_FILENO_CLIENT=5
TRACE_LEVEL_CLIENT=16
TRACE_TIMESTAMP_CLIENT=TRUE
TRACE_UNIQUE_CLIENT=TRUE

I have rebooted my machine, and ran some SQL-commands from TOAD and
the
web-interfaces, but nothing ends up in this directory, it is still
empty.

I am obviously missing something trivial?
What else do I need to do?

TIA,
------------------------grz01

Did you also apply these changes to the sqlnet.ora files on the
machine where TOAD is installed and the machine where the web-based
application runs? I expect not.

David Fitzjarrell


Hi David,

I am just running local, so host and client is same machine.

Both TOAD and webinterface
(XE using using http://127.0.0.1:8080/apex,
and EE using http://machinename:1158/em)
requires the TNSListener running,
so I guess sqlnet should still see the traffic...?

/grz01


Reply With Quote
  #7  
Old   
grz01
 
Posts: n/a

Default Re: SQLnet logging/tracing - 05-12-2008 , 02:47 PM



On May 12, 7:20 pm, "fitzjarr... (AT) cox (DOT) net" <orat... (AT) msn (DOT) com> wrote:
Quote:
On May 12, 11:20 am,grz01<gr... (AT) spray (DOT) se> wrote:



Hello,

Need some quick help...

I have an XP-machine with Oracle 10g,
both EE and XE installed as standard "starter databases" with the
Installers.

Now I wanted to turn on sql-net tracing/logging,
so I created two directories C:\oracle\log and C:\oraclexe\log
and added the lines below to %ORACLE_HOME%\NETWORK\ADMIN\sqlnet.ora
on both installations.

LOG_DIRECTORY_CLIENT=c:\oracle\log\
LOG_FILE_CLIENT=client_log
TRACE_DIRECTORY_CLIENT=c:\oracle\log\
TRACE_FILE_CLIENT=client_trace
TRACE_FILELEN_CLIENT=10000
TRACE_FILENO_CLIENT=5
TRACE_LEVEL_CLIENT=16
TRACE_TIMESTAMP_CLIENT=TRUE
TRACE_UNIQUE_CLIENT=TRUE

I have rebooted my machine, and ran some SQL-commands from TOAD and
the
web-interfaces, but nothing ends up in this directory, it is still
empty.

I am obviously missing something trivial?
What else do I need to do?

TIA,
------------------------grz01

Did you also apply these changes to the sqlnet.ora files on the
machine where TOAD is installed and the machine where the web-based
application runs? I expect not.

David Fitzjarrell


Hi David,

I am just running local, so host and client is same machine.

Both TOAD and webinterface
(XE using using http://127.0.0.1:8080/apex,
and EE using http://machinename:1158/em)
requires the TNSListener running,
so I guess sqlnet should still see the traffic...?

/grz01


Reply With Quote
  #8  
Old   
grz01
 
Posts: n/a

Default Re: SQLnet logging/tracing - 05-12-2008 , 02:47 PM



On May 12, 7:20 pm, "fitzjarr... (AT) cox (DOT) net" <orat... (AT) msn (DOT) com> wrote:
Quote:
On May 12, 11:20 am,grz01<gr... (AT) spray (DOT) se> wrote:



Hello,

Need some quick help...

I have an XP-machine with Oracle 10g,
both EE and XE installed as standard "starter databases" with the
Installers.

Now I wanted to turn on sql-net tracing/logging,
so I created two directories C:\oracle\log and C:\oraclexe\log
and added the lines below to %ORACLE_HOME%\NETWORK\ADMIN\sqlnet.ora
on both installations.

LOG_DIRECTORY_CLIENT=c:\oracle\log\
LOG_FILE_CLIENT=client_log
TRACE_DIRECTORY_CLIENT=c:\oracle\log\
TRACE_FILE_CLIENT=client_trace
TRACE_FILELEN_CLIENT=10000
TRACE_FILENO_CLIENT=5
TRACE_LEVEL_CLIENT=16
TRACE_TIMESTAMP_CLIENT=TRUE
TRACE_UNIQUE_CLIENT=TRUE

I have rebooted my machine, and ran some SQL-commands from TOAD and
the
web-interfaces, but nothing ends up in this directory, it is still
empty.

I am obviously missing something trivial?
What else do I need to do?

TIA,
------------------------grz01

Did you also apply these changes to the sqlnet.ora files on the
machine where TOAD is installed and the machine where the web-based
application runs? I expect not.

David Fitzjarrell


Hi David,

I am just running local, so host and client is same machine.

Both TOAD and webinterface
(XE using using http://127.0.0.1:8080/apex,
and EE using http://machinename:1158/em)
requires the TNSListener running,
so I guess sqlnet should still see the traffic...?

/grz01


Reply With Quote
  #9  
Old   
grz01
 
Posts: n/a

Default Re: SQLnet logging/tracing - 05-12-2008 , 02:47 PM



On May 12, 7:20 pm, "fitzjarr... (AT) cox (DOT) net" <orat... (AT) msn (DOT) com> wrote:
Quote:
On May 12, 11:20 am,grz01<gr... (AT) spray (DOT) se> wrote:



Hello,

Need some quick help...

I have an XP-machine with Oracle 10g,
both EE and XE installed as standard "starter databases" with the
Installers.

Now I wanted to turn on sql-net tracing/logging,
so I created two directories C:\oracle\log and C:\oraclexe\log
and added the lines below to %ORACLE_HOME%\NETWORK\ADMIN\sqlnet.ora
on both installations.

LOG_DIRECTORY_CLIENT=c:\oracle\log\
LOG_FILE_CLIENT=client_log
TRACE_DIRECTORY_CLIENT=c:\oracle\log\
TRACE_FILE_CLIENT=client_trace
TRACE_FILELEN_CLIENT=10000
TRACE_FILENO_CLIENT=5
TRACE_LEVEL_CLIENT=16
TRACE_TIMESTAMP_CLIENT=TRUE
TRACE_UNIQUE_CLIENT=TRUE

I have rebooted my machine, and ran some SQL-commands from TOAD and
the
web-interfaces, but nothing ends up in this directory, it is still
empty.

I am obviously missing something trivial?
What else do I need to do?

TIA,
------------------------grz01

Did you also apply these changes to the sqlnet.ora files on the
machine where TOAD is installed and the machine where the web-based
application runs? I expect not.

David Fitzjarrell


Hi David,

I am just running local, so host and client is same machine.

Both TOAD and webinterface
(XE using using http://127.0.0.1:8080/apex,
and EE using http://machinename:1158/em)
requires the TNSListener running,
so I guess sqlnet should still see the traffic...?

/grz01


Reply With Quote
  #10  
Old   
fitzjarrell@cox.net
 
Posts: n/a

Default Re: SQLnet logging/tracing - 05-12-2008 , 03:14 PM



On May 12, 2:47*pm, grz01 <gr... (AT) spray (DOT) se> wrote:
Quote:
On May 12, 7:20 pm, "fitzjarr... (AT) cox (DOT) net" <orat... (AT) msn (DOT) com> wrote:





On May 12, 11:20 am,grz01<gr... (AT) spray (DOT) se> wrote:

Hello,

Need some quick help...

I have an XP-machine with Oracle 10g,
both EE and XE installed as standard "starter databases" with the
Installers.

Now I wanted to turn on sql-net tracing/logging,
so I created two directories C:\oracle\log and C:\oraclexe\log
and added the lines below to %ORACLE_HOME%\NETWORK\ADMIN\sqlnet.ora
on both installations.

LOG_DIRECTORY_CLIENT=c:\oracle\log\
LOG_FILE_CLIENT=client_log
TRACE_DIRECTORY_CLIENT=c:\oracle\log\
TRACE_FILE_CLIENT=client_trace
TRACE_FILELEN_CLIENT=10000
TRACE_FILENO_CLIENT=5
TRACE_LEVEL_CLIENT=16
TRACE_TIMESTAMP_CLIENT=TRUE
TRACE_UNIQUE_CLIENT=TRUE

I have rebooted my machine, and ran some SQL-commands from TOAD and
the
web-interfaces, but nothing ends up in this directory, it is still
empty.

I am obviously missing something trivial?
What else do I need to do?

TIA,
------------------------grz01

Did you also apply these changes to the sqlnet.ora files on the
machine where TOAD is installed and the machine where the web-based
application runs? *I expect not.

David Fitzjarrell

Hi David,

I am just running local, so host and client is same machine.

Both TOAD and webinterface
(XE using usinghttp://127.0.0.1:8080/apex,
and EE usinghttp://machinename:1158/em)
requires the TNSListener running,
so I guess sqlnet should still see the traffic...?

/grz01- Hide quoted text -

- Show quoted text -
Then you should be looking for cli.trc files in the same directory
where the TOAD executables reside. Same for the web app.


David Fitzjarrell


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.