1 Reply Latest reply: Jul 27, 2010 2:56 AM by René van Wijk RSS

    Weblogic Application Server 10.3.3 : Timestamp in Standard error logs!

    783573
      Is there any configuration available in Weblogic application server to show time stamp in Standard Error log file along with error stack trace?

      On my application server there is one resource adapter running which processes transactions continuously. If any of the transaction fails then the error trace is coming in Standard Error Log file. But it is not showing the time when exactly that transaction failed.

      So is it possible to configure (via weblogic admin console) to show time stamp in Standard Error log along with error stack trace?

      Thanks in advance. Pritesh.
        • 1. Re: Weblogic Application Server 10.3.3 : Timestamp in Standard error logs!
          René van Wijk
          You can find the errors with timestamp in the log file of the server in question, for example <domain-home>/servers/<server-name>/logs/server-name.log

          The following is an error from a database resource adapter:

          ####<Jul 26, 2010 3:37:37 PM CEST> <Warning> <JDBC> <edu-wls-winxp> <soa_server1> <[ACTIVE] ExecuteThread: '9' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1280151457018> <BEA-001129> <Received exception while creating connection for pool "SOALocalTxDataSource": The Network Adapter could not establish the connection>
          ####<Jul 26, 2010 3:37:37 PM CEST> <Info> <JDBC> <edu-wls-winxp> <soa_server1> <[ACTIVE] ExecuteThread: '9' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1280151457018> <BEA-001156> <Stack trace associated with message 001129 follows:

          java.sql.SQLException: The Network Adapter could not establish the connection
               at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:70)

          As you can see the details follow the info message, which has a timestamp.