commons-logging: runtime change of properties

Discussion in 'Java' started by cristian.riseri@bpubanca.it, Oct 23, 2003.

  1. Guest

    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
     
    , Oct 23, 2003
    #1
    1. Advertising

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

    readConfiguration() and readConfiguration(InputStream ins).

    --
    Eddie McCreary Outside of a dog, a book is a man's best
    mailto: friend. Inside of a dog, it's too dark
    http://www.heorot.org to read. -Groucho Marx
     
    Eddie McCreary, Oct 24, 2003
    #2
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. James Zhou

    Commons logging question

    James Zhou, Dec 16, 2004, in forum: Java
    Replies:
    3
    Views:
    410
    Ryan Stewart
    Dec 18, 2004
  2. thiaga
    Replies:
    1
    Views:
    1,730
    Roland de Ruiter
    Jul 20, 2006
  3. Replies:
    1
    Views:
    2,227
    Irmen de Jong
    Jun 22, 2004
  4. Facade

    log4j/commons-logging issue?

    Facade, Oct 1, 2008, in forum: Java
    Replies:
    3
    Views:
    3,778
    Arne Vajhøj
    Oct 11, 2008
  5. Gianni Galore
    Replies:
    0
    Views:
    1,319
    Gianni Galore
    Sep 8, 2010
Loading...

Share This Page