简体   繁体   中英

How Can I View Glassfish Logs on Intellij Idea

I am working on making the switch from Netbeans to Intellij Idea . One thing I miss from Netbeans is the ability to view the Glassfish server logs in real-time in the IDE. It seems like with Idea I need to go out to the file system and tail them.

Is there another way that I am missing?

Additional server logs can be added in the "Logs tab of the Glassfish Run/Debug configuration"

在此处输入图像描述

This worked for me:-

  1. Go to the "Run/Debug Configuration" section
  2. Go to "Logs" tab
  3. Click on the "+" icon
  4. Enter "Alias" name and enter the server log file location associated on the "Log File Location" section

添加 GlassFish 服务器日志

GlassFish log is available in the Services window, when you click on a running deployment, and then click the GlassFish Log tab in the right part of the window:

在此处输入图像描述

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM