Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
411 views
in Technique[技术] by (71.8m points)

java - 如何在Weblogic服务器上获取请求-响应日志(how to get request-response logs on weblogic server)

I am running a portlet application on springs on weblogic server.

(我正在weblogic服务器上的spring上运行portlet应用程序。)

If i want to see the request -responses logs in my application, what are the configuration settings that i need to do?

(如果我想在我的应用程序中看到请求-响应日志,我需要做什么配置设置?)

  ask by stallion translate from so

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)

If you need HTTP request log, follow documentation: http://docs.oracle.com/cd/E13222_01/wls/docs90/ConsoleHelp/taskhelp/logging/EnableAndConfigureHTTPLogs.html

(如果您需要HTTP请求日志,请遵循以下文档: http : //docs.oracle.com/cd/E13222_01/wls/docs90/ConsoleHelp/taskhelp/logging/EnableAndConfigureHTTPLogs.html)

If you want more data or response, you need to write (or find) servlet filter that will dump requested data to file

(如果需要更多数据或响应,则需要编写(或查找)servlet过滤器,该过滤器会将请求的数据转储到文件中)


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...