EdgeCase
EdgeCase

Reputation: 4827

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?

Upvotes: 5

Views: 6433

Answers (3)

Ondro Mihályi
Ondro Mihályi

Reputation: 7710

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:

enter image description here

Upvotes: 0

user3302142
user3302142

Reputation: 11

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

Add GlassFish server log

Upvotes: 0

CrazyCoder
CrazyCoder

Reputation: 401965

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

enter image description here

Upvotes: 5

Related Questions