Where can I find Glassfish logs on Windows 7?

允我心安 提交于 2020-01-23 06:33:47

问题


I can't find the Glassfish logs on windows 7. I would've expected a /glassfish/logs folder, but having searched the glassfish directory I don't see them.


回答1:


It's inside /glassfish/domains/[domainname]/logs where [domainname] is the server domain name, which defaults to domain1.




回答2:


Webnet are you running Glassfish from Netbeans?

I had the same problem expecting to find glassfish logs in C:\Program Files\glassfish-3.1.1\glassfish\domains\domain1\logs

I ended up finding them here:

D:\Users\myusername\.netbeans\7.0\config\GF3\domain1\logs

I installed glassfish along with netbeans and run it from within that ide. So it looks like because I am running within Netbeans it redirects the logs to that location.




回答3:


If virtualization is being performed, try:
C:\Users\(user)\AppData\Local\VirtualStore\glassfish\logs



来源:https://stackoverflow.com/questions/8468608/where-can-i-find-glassfish-logs-on-windows-7

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!