Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / October 2003

Tip: Looking for answers? Try searching our database.

commons-logging: runtime change of properties

Thread view: 
cristian.riseri@bpubanca.it - 23 Oct 2003 16:13 GMT
Hi,

I try to use commons-logging with the logs methods of J2SE 1.4.2 to
generalize the logging in my appl.

Doesn't exists a method to upload the defaul file properties of J2SE
at run time and not usig the -D option at startup?

Exists e method to change the propeties of the logger at runtime? for
example the output file path...

Thanks Cristian
Eddie McCreary - 24 Oct 2003 13:28 GMT
> Hi,
>
[quoted text clipped - 8 lines]
>
> Thanks Cristian

See

http://java.sun.com/j2se/1.4.2/docs/api/java/util/logging/LogManager.html

readConfiguration() and readConfiguration(InputStream ins).

Signature

Eddie McCreary                  Outside of a dog, a book is a man's best
mailto:usenet@heorot.org        friend.  Inside of a dog, it's too dark
http://www.heorot.org           to read. -Groucho Marx



Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.