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 9130133
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T07:54:13+00:00 2026-06-17T07:54:13+00:00

Using Maven build system under eclipse. I have just switched by project from using

  • 0

Using Maven build system under eclipse.

I have just switched by project from using Apache Commons Logging to Java Utils Logging, as it has to live in an environment where Java Utils Logging is the main logger (Google App Engine), and other libraries that I use already use it (Restlet). One of the features I like in eclipse is to be able right click on a function thats marked with @test and select “Run as Junit Test”. When I do this now, I see no logging output. I have created a file

src/test/java/resources/logging.properties

handlers = java.util.logging.ConsoleHandler

.level=INFO
my.great.package.level=FINE
java.util.logging.ConsoleHandler.level = FINE

But still I see nothing when running test inside Eclipse. Before it used to all work beautifully with commons logging and log4j. What am I doing wrong?

Thanks in advance,

  • 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-06-17T07:54:14+00:00Added an answer on June 17, 2026 at 7:54 am

    I’m not sure if Java Logging can auto-detect configuration files in the same way that log4j can.

    Have you tried specifying where the configuration file is for the test runner, e.g.:

    -Djava.util.logging.config.file=path/to/logging.properties
    

    You can add this to the system properties via the VM Arguments text box in the Eclipse Run Configurations dialog.

    You can also configure the maven-surefire-plugin with the same system property so you get logging during your build – if desired.

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

Sidebar

Related Questions

I have a maven java project in eclipse. I added a groovy file in
Im using maven to build a multi module project. But some projects are in
I am using maven to build applications. I have deployed a WAR file containing
I am using Maven 3 to build a java application with 3 tiers -
currently, I am developing web-apps using Eclipse. The build is done using Maven. The
Currently, my Java applications have the same version on every build. I am using
I'm using m2e 1.0.0.20110607-2117 bundled with Eclipse Indigo. I'm referencing external maven installation from
I am using maven from command line to build my application, and i get
I have a small Java project in a version control system (git), shared by
I am new to JavaFX. I have created a Hello World project using maven.

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.