Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Java > commons-logging: runtime change of properties

Reply
Thread Tools

commons-logging: runtime change of properties

 
 
cristian.riseri@bpubanca.it
Guest
Posts: n/a
 
      10-23-2003
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
 
Reply With Quote
 
 
 
 
Eddie McCreary
Guest
Posts: n/a
 
      10-24-2003
http://www.velocityreviews.com/forums/(E-Mail Removed) wrote:
> 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


See

http://java.sun.com/j2se/1.4.2/docs/...ogManager.html

readConfiguration() and readConfiguration(InputStream ins).

--
Eddie McCreary Outside of a dog, a book is a man's best
(E-Mail Removed) friend. Inside of a dog, it's too dark
http://www.heorot.org to read. -Groucho Marx

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
A Paradise DNS address change? What change? There was no change. Tony Neville NZ Computing 7 09-22-2006 01:02 PM
CompositeControls: ViewState properties w/ Mapped properties probl =?Utf-8?B?Q2hyaXN0b3BoZSBQZWlsbGV0?= ASP .Net 1 01-19-2006 09:19 AM
Making Custom Control Properties Visible in Visual Studio's Properties Palette Nathan Sokalski ASP .Net 0 10-17-2005 02:05 AM
Re: C++ properties Library Created (was Binding together Properties of Objects) Victor Porton C++ 1 08-29-2004 08:02 PM
Problems parsing when Properties.dtd.properties Kent Lichty Java 0 04-16-2004 03:08 PM



Advertisments