Menu

#2 Want logging to disk but not to stdout

1.0.X
open
nobody
5
2009-08-27
2009-08-27
No

Hi,

I'd like to have log messages go to a file of my choice but not to stdout. I have a custom LogListener for writing to disk which works fine, but I don't seem to have enough control in the Concierge setup to get what I want. If I set
-Dch.ethz.iks.concierge.log.enabled=true
then I get logging enabled and my LogListener can do its thing. But I also get all log messages written to stdout by what I am assuming is a LogListener that comes with Concierge. If I set
-Dch.ethz.iks.concierge.log.enabled=false
then I get no logging at all, either to stdout or to disk.

Is there a way to do what I want? Am I missing something?

Thank you!
Matt

Discussion

  • Jan S. Rellermeyer

    Hi Matt,

    what you are looking for is the -Dch.ethz.iks.concierge.log.quiet=true switch. This will disable the stdout of the log service.
    Sorry that the docu does not list it. It was introduced because of a requirement that buglabs had for their platform and I missed to adjust the homepage.

    Cheers,

    Jan.

     
  • Matt Tennant

    Matt Tennant - 2009-09-09

    Hi Jan,

    Fantastic, thank you, that worked.

    Keep up the good work,
    Matt

     

Log in to post a comment.

MongoDB Logo MongoDB