maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Scholte" <rfscho...@apache.org>
Subject Re: Maven best practices for easily developer tweakable config file
Date Wed, 05 Sep 2018 18:08:10 GMT
bq. I have the logging.properties file the app uses at a particular place.

So it seems specify the location of this file somewhere, probably with the  
java.util.logging.config.file property.
How about changing the value of this property?

Robert

On Tue, 04 Sep 2018 16:15:00 +0200, Matthew Cline <matt@nightrealms.com>  
wrote:

> I'm currently migrating from Ant to Maven, and am wondering how to
> translate the following:
>
> My project uses java.util.logging.  I have the logging.properties file
> the app uses at a particular place.  To see what's going on I'll often
> lower the level of a certain class or package in order to get more
> logging output, then change it again once I'm done.  Since I'm
> frequently changing it, this file isn't tracked by git.  However, I do
> have a default version of logging.properties tracked by git.  If the
> logging.properties which the app is pointed at is missing, then ant
> copies the default version there.
>
> However, I get the feeling that this isn't the way to do things with
> Maven.  So what is the Maven way?
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Mime
View raw message