oracle weblogic server 10.3.5上部署的应用日志在哪里找?
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/25657341/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Where to find the application log that deployed on weblogic server 10.3.5?
提问by Salman
I am able to find the whole sever log under the path
我能够在路径下找到整个服务器日志
....\Oracle\WLS\user_projects\domains\[domain name goes here]\servers\[Server name goes here]\logs
....\Oracle\WLS\user_projects\domains\[domain name goes here]\servers\[Server name goes here]\logs
But the problem that I it does not contains all the stack that I usually see in Jdeveloper
console at the development time.
但是我的问题是它没有包含我Jdeveloper
在开发时通常在控制台中看到的所有堆栈。
So, Where to find the stack or logs for the application not the whole sever exactly like Jdeveloper
console where every thing is shown even the print statements (System.out.print()
) ?
那么,在哪里可以找到应用程序的堆栈或日志,而不是像Jdeveloper
控制台那样显示所有内容甚至打印语句 ( System.out.print()
)的整个服务器?
回答by Display Name is missing
There are two potential locations (the one you mentioned is the default):
有两个潜在位置(您提到的位置是默认位置):
- <domain home>/servers/<server_name>/logs
- Admin Console->Servers->Server Name->Logging tab->Log file name
If you're not seeing the debug/stack traces you expect, you should use the Advanced
section on the Logging tab and turn up the Severity Level
for the log file and standard out.
如果您没有看到您期望的调试/堆栈跟踪,您应该使用Advanced
Logging 选项卡上的部分并打开Severity Level
日志文件和标准输出。
You can also set Redirect stdout logging enabled
and Redirect stderr logging enabled
to ensure everything you expect gets to the log file.
您还可以设置Redirect stdout logging enabled
并Redirect stderr logging enabled
确保您期望的所有内容都进入日志文件。
That said, the application you are running could be using it's own logging location and ignore everything above.
也就是说,您正在运行的应用程序可能正在使用它自己的日志记录位置并忽略上面的所有内容。
回答by Bistro
I agree with @castling. I found these 2 answers that may help.
我同意@castling。我发现这 2 个答案可能会有所帮助。
回答by asura
Default weblogic domain will be under ".jdeveloper/system" folder in your home.. Under System folder, navigate to "DefaultDomain/servers/DefaultServer/logs"
默认的 weblogic 域将在您家中的“.jdeveloper/system”文件夹下。在 System 文件夹下,导航到“DefaultDomain/servers/DefaultServer/logs”
Eg: /home/myuser/.jdeveloper/system12.2.1.0.42.151011.0031/DefaultDomain/servers/DefaultServer/logs
例如:/home/myuser/.jdeveloper/system12.2.1.0.42.151011.0031/DefaultDomain/servers/DefaultServer/logs