Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7668159
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T15:17:22+00:00 2026-05-31T15:17:22+00:00

Is there a way of debugging JSF + PrimeFaces applications by simply looking at

  • 0

Is there a way of debugging JSF + PrimeFaces applications by simply looking at one log file? To be more specific, here is how I personally do it at the moment if something doesn’t work as expected:

  1. Look for visual indicator on the Web page (e.g. if I receive HTTP 500 obviously something is wrong)
  2. I look in the log file of my application server for any warnings, errors or stacktraces
  3. I look in the Firebug’s network console to see if there were any errors in the HTTP response; this tends to happen from time to time (and it’s not shown in the log!)
  4. I check if it is a validation error by including a p:message on the form and display it.

For me, checking for errors is a 4-step workflow. Is there a better way of doing this? Ideally, it would be great if all these errors could be logged to a single log. Is this DIY or there is some standard way of doing it?

Thanks!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-31T15:17:24+00:00Added an answer on May 31, 2026 at 3:17 pm

    There is nothing out of box that will give you what you describe because these are all situations that occur on different layers.

    1. This is typically because an unhandled exception made its way up the call stack. If you improve your code for exception handling then these circumstances should be caught and logged.

    2. Improved exception handling and logging at all application layers will help capture all errors and exceptions in a single log file on the application server.

    3. Firebug catches network errors in asynchronous postbacks as well as Javascript exceptions. This is completely a client side concern as the server just derives the markup. It might be possible to catch all Javascript exceptions before they are propagated up to Firebug and to send an asynchronous error report to the server for the server to log. This shouldn’t be too terribly difficult to implement.

    4. Again, better logging in your validator methods will be able to put this information in the application server logs so that you have all of this information in one place.

    The bottom line is that these are all situations where they become a non-issue for developers who learn how to intuitively include good Instrumentation code throughout their applications.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Is there any way to get a full iOS crash log when debugging? For
Is there any way to add any sort of debugging to a Lego Mindstorms
Is there any way to find all references to an object while debugging?
When debugging browser-based apps using Google Chrome's Developer Tools, is there a way to
Is there way that I can read the file from remote server using fopen
Is there a better way of debugging in Rhino than typing this everytime? :
Is there a way to enable debugging from within the Windows Forms Designer in
Is there an way to disable WPF's very annoying exception wrapping when debugging? An
Is there a way to avoid Visual Studio from going to another file when
Is there a way that I can see, while debugging, the result (html, xml,

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.