commons-logging: runtime change of properties

C

cristian.riseri

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
 
E

Eddie McCreary

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/api/java/util/logging/LogManager.html

readConfiguration() and readConfiguration(InputStream ins).
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,743
Messages
2,569,478
Members
44,899
Latest member
RodneyMcAu

Latest Threads

Top