我如何将服务器输出控制台存储到server.log
类似 netbeans apache 输出控制台的输出中server.log
以跟踪 sql 错误并显示system.out.println
i have tried
在 weblogic 管理控件中配置日志记录和调试部分,但我找不到解决问题的线索,server.log 存在存储 http 请求和其他对我不重要的东西,我阅读参考和手册“快速阅读”所以如果有人能给我一个关于我的问题或解决方案的参考,可能是因为我找不到合适的术语来搜索
例子
the Form Action is :searchEmNominativeInterviewPrevInvertory
=========EXTRA PARAMETER FOR SEARCH=========
Extra Parameters
=========EXTRA PARAMETER FOR SEARCH=========
-----<<>>----trying to get connection--3---
PDAO
PDAO user
PDAO null
PDAO 1 = 1 AND REQ_CLASS = 'I'
PDAO
PDAO
PDAO -1
PDAO -1
PDAO null
PDAO -1
PDAO -1
PDAO -1
PDAO -1
PDAO I
PDAO -1
PDAO -1
PDAO 9481007150
PDAO 1
PDAO 13
PDAO
PDAO
-----<<>>----Executing the Security Procedure Fail...
java.sql.SQLException: ORA-06550: سطر 1 ، عمود 7 :
PLS-00905: object HR2_EMPL.EM_NOM_INTER_PREV_STOCK$SELECT is invalid
ORA-06550: سطر 1 ، عمود 7 :
PL/SQL: Statement ignored
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:112)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:331)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:288)
at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:743)
at oracle.jdbc.driver.T4CCallableStatement.doOall8(T4CCallableStatement.java:215)
at oracle.jdbc.driver.T4CCallableStatement.executeForRows(T4CCallableStatement.java:954)
at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1168)
at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3285)
at oracle.jdbc.driver.OraclePreparedStatement.execute(OraclePreparedStatement.java:3390)
at oracle.jdbc.driver.OracleCallableStatement.execute(OracleCallableStatement.java:4223)
at org.apache.tomcat.dbcp.dbcp.DelegatingPreparedStatement.execute(DelegatingPreparedStatement.java:169)
at com.rss.components.ParentDAO.executeProcedure(ParentDAO.java:318)
at rss.hr2.recruitment.RecruitmentDAO.searchEmNominativeInterviewPrevInvertory(RecruitmentDAO.java:15051)
at rss.hr2.recruitment.interviews.searchEmNominativeInterviewPrevInvertory.execute(searchEmNominativeInterviewPrevInvertory.java:159)
at rss.controller.CommandDispatcher.executeCommand(CommandDispatcher.java:111)