GlassFish Server 日志的位置 [英] Location of GlassFish Server Logs

查看:27
本文介绍了GlassFish Server 日志的位置的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在 Windows 7 64 位机器上安装了 NetBeans IDE.显然,NetBeans 带有 GlassFish 服务器.

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?

推荐答案

一般来说,日志在 /YOUR_GLASSFISH_INSTALL/glassfish/domains/domain1/logs/ 中.

In general the logs are in /YOUR_GLASSFISH_INSTALL/glassfish/domains/domain1/logs/.

在 NetBeans 中,转到服务"选项卡,打开服务器",右键单击您的 Glassfish 实例,然后单击查看域服务器日志".

In NetBeans go to the "Services" tab open "Servers", right-click on your Glassfish instance and click "View Domain Server Log".

如果这不起作用,请右键单击 Glassfish 实例并单击属性",您可以在域文件夹"下看到包含域的文件夹.转到此文件夹 -> your-domain -> 日志

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

如果服务器已经在运行,您应该在 NetBeans 中看到一个 Output 选项卡,其名称类似于 GlassFish Server x.x.x

If the server is already running you should see an Output tab in NetBeans which is named similar to GlassFish Server x.x.x

您还可以在 /YOUR_GLASSFISH_INSTALL/glassfish/domains/domain1/logs/server.log 上使用 cattail -F.如果您使用的是不同的域,则 domain1 您必须为此调整路径.

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 Server 日志的位置的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆