Re: Java Logging API problems

From: Robert Klemme (bob.news_at_gmx.net)
Date: 11/26/04


Date: Fri, 26 Nov 2004 10:56:46 +0100


"Xavier Tarrago" <xavier.tarrago@marreduspam.cea.fr> schrieb im
Newsbeitrag news:co6p9r$7bd$1@ellebore.saclay.cea.fr...
> What about
> System.setProperty("java.util.logging.config.file",
> "my/logging/file/logging");

That didn't work (see the OP's original post). Probably it was too late.

    robert

>
> "Robert Klemme" <bob.news@gmx.net> a écrit dans le message de
> news:30m3joF31borjU1@uni-berlin.de...
> >
> > "Simor" <MSSimor@gmx.de> schrieb im Newsbeitrag
> > news:53573669.0411250230.36e9be57@posting.google.com...
> > > "Robert Klemme" <bob.news@gmx.net> wrote in message
> > news:<30j5eiF30q72oU1@uni-berlin.de>...
> > > > "Simor" <MSSimor@gmx.de> schrieb im Newsbeitrag
> > > > news:53573669.0411230923.485c835@posting.google.com...
> > > >
> > > > Did you try setting the property on VM start via
> > > > "-Djava.util.logging.config.file=your_file_name"? Did it make a
> > > > difference?
> > > >
> > > > robert
> > >
> > > Thanks for the hint, it works. But is there any way to set this
> > > proberty within my source code, not as parameter for the VM start?
> >
> > AFAIK these properties are meant to be set on the command line and not
> > from inside the VM. You might have to resort to another mechanism.
> >
> > Kind regards
> >
> > robert
> >
>
>



Relevant Pages

  • Re: Shadowing bug??
    ... I think this is intended though and AFAIK this behaviour is subject ... Kind regards ...
    (comp.lang.ruby)
  • Re: a question of ethics
    ... Robert A. Cunningham wrote: ... Nowhere in my original post, or any subsequent post for that matter, did ... indicate that I was going to publish any of the photos. ...
    (rec.photo.digital)
  • Re: Exporting a vfat mount via NFS -- is it possible?
    ... Robert wrote: ... I just noticed that the original post was truncated a bit. ... just a few lines of the tree and a wish that someone would spot a ...
    (Fedora)
  • Re: post-positioning of prepositions in Russian
    ... in your original post you showed to separate cases: ... The second form seems to be quite common in colloquial ... Russian and AFAIK in western Slavic languages as well. ...
    (sci.lang)
  • Re: Compiler difference
    ... On Fri, 27 Aug 2004, Robert W Hand wrote: ... AFAIK it doesn't even create a string literal. ... >> doesn't imply that an assignment is actually taking place. ... purpose of "copying" into the array! ...
    (alt.comp.lang.learn.c-cpp)