GlassFish服务器日志的位置 [英] Location of GlassFish Server Logs
问题描述
我在Windows 7 64位机器上安装了NetBeans IDE。显然,NetBeans附带了GlassFish服务器。
我目前遇到了一个项目问题,并希望检查服务器日志。请问这些存储在哪里?
通常情况下,日志位于 / YOUR_GLASSFISH_INSTALL / glassfish / domains /在NetBeans中,转到服务(Services)选项卡打开服务器(Servers),右键单击Glassfish实例,然后单击鼠标右键查看域服务器日志。
如果这不起作用,请右键单击Glassfish实例并单击属性,即可在域文件夹下看到包含域的文件夹。转到这个文件夹 - >你的域名 - >日志
如果服务器已经运行,你应该看到 Output
> GlassFish Server xxx
您也可以使用 cat
或 tail -F
在 /YOUR_GLASSFISH_INSTALL/glassfish/domains/domain1/logs/server.log
。如果您使用的是不同的网域,那么 domain1
您必须调整路径。
I have NetBeans IDE installed on a Windows 7 64-bit machine. Obviously, NetBeans comes with the GlassFish server.
I am currently having problems with a project and would like to check the server logs. Where are these stored please?
In general the logs are in /YOUR_GLASSFISH_INSTALL/glassfish/domains/domain1/logs/
.
In NetBeans go to the "Services" tab open "Servers", right-click on your Glassfish instance and click "View Domain Server Log".
If this doesn't work right-click on the Glassfish instance and click "Properties", you can see the folder with the domains under "Domains folder". Go to this folder -> your-domain -> logs
If the server is already running you should see an Output
tab in NetBeans which is named similar to GlassFish Server x.x.x
You can also use cat
or tail -F
on /YOUR_GLASSFISH_INSTALL/glassfish/domains/domain1/logs/server.log
. If you are using a different domain then domain1
you have to adjust the path for that.
这篇关于GlassFish服务器日志的位置的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!