ps0604
ps0604

Reputation: 1071

MyFaces: how to show error messages in console log

Running a JSF web application on MyFaces, if there's an error at the server side such as null pointer, what I get is a message that pops up in the browser but nothing is logged in the server console where more information on the error would be displayed. Is there a way to revert this? For example, this is a message that I get:

enter image description here

Upvotes: 0

Views: 936

Answers (1)

Chuck Mah
Chuck Mah

Reputation: 638

Take a look at the error message, it's said that your project stage is development. that why the error don't get logged in the console. If you put your application in production mode it's should log normally in the console

Upvotes: 1

Related Questions