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

  • Home
  • SEARCH
  • 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 3761458
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 19, 20262026-05-19T10:37:45+00:00 2026-05-19T10:37:45+00:00

In a GlassFish 2.1 environment, I am trying to increase the logging level for

  • 0

In a GlassFish 2.1 environment, I am trying to increase the logging level for TopLink… to see the raw SQL being generated. In the GlassFish Admin Console, I go to:

Configurations -> my-config -> Logger Settings -> "Log Levels" tab

The logging level for TopLink is determined by the “Persistence” pulldown menu. To dump generated SQL to the logs, you increase the level from “SEVERE” to “FINE” (or greater).

I’ve done this before on multiple other GlassFish boxes. However, on THIS box the value always reverts back to “SEVERE” after I click the Save button. No error message in the Admin Console, and nothing logged that I can find… the new value simply doesn’t stick.

The really confusing thing is that I CAN successfully update the logging level for every other category in the system (e.g. “JMS”, “JTA”, etc). The problem is specific to the “Persistence” category.

Anyone ever encountered this problem before? Any thoughts would be appreciated.

  • 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-19T10:37:45+00:00Added an answer on May 19, 2026 at 10:37 am

    I eventually confirmed with Oracle that this was a bug in this particular version of GlassFish. Shouldn’t be an issue for people who are up to the 3.x generation of GlassFish, and there will eventually be an update for 2.1x.

    I have found a workaround for the meantime, though. On that “Log Levels” page, add a new property in the “Additional Properties” section at the bottom. Set the property Name to “oracle.toplink.essentials” (the same package name indicated beside the “Persistence” pulldown), and set the property Value to whatever logging level you want.

    Clicking Save will remove this entry from the “Additional Properties” section, but the “Persistence” pulldown will be set to the logging level you had entered.

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

Sidebar

Related Questions

I am trying to move a working spring WAR to OSGI environment (in glassfish
My environment: Netbean 6.9.1 Glassfish 3.0.1 Windows 7 Goal: When my coworkers opens the
I'm using glassfish 3.1 and JEE6 with EJB3.1. I'm simply trying to inject one
I'm trying to deploy simple Rails app on glassfish v3 and get the following
Testing environment: netbeans7.11 + glassfish 3.11 here is the jsp, class code: <%@page contentType=text/html
I'm trying to get an environment set up to match a client. They're using
Recently I configured my instance into a micro environment in EC2 with glassfish and
I m trying to install Glassfish Application Server 3.1. But I get this I
Environment : GlassFish 3.0.1, NetBeans 6.9, JDK 6u21 Problem : Unable to run app-client
Environment: Windows 7, NetBean 6.9 (the one including GlassFish v3, Java EE 6), MySQL

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.