Hitachi Vantara Pentaho Community Forums
Results 1 to 3 of 3

Thread: How to avoid logging of root job in Logging window in Spoon

  1. #1
    Join Date
    Jun 2010
    Posts
    11

    Default How to avoid logging of root job in Logging window in Spoon

    Hi,
    Is there a way to avoid writing any log to Logging window in Spoon when I run my root job? I'd like to have those messages go to a file instead.
    In Job->Settings menu, Log tab, there is Log connection and log table. There is no mention of logfile.
    I also tried to choose "Nothing at all" for log level when I execute a job, but it still writes to Logging window in Spoon.
    Many thanks!
    Marjana

  2. #2

    Default

    you could try to run the same job/transformation using kitchen/pan and log the output to a file.

    not sure this helps or not..

  3. #3
    Join Date
    Nov 1999
    Posts
    9,729

    Default

    You can use your own log4j.xml file to configure the logging.
    Simply place one next to the Spoon application.

    http://wiki.apache.org/logging-log4j/Log4jXmlFormat

    Even simpler put the output in a dummy file or /dev/null on Unix systems.

    Spoon.bat > output.txt (Windows)
    sh ./spoon.sh > /dev/null (*nix)

    HTH,
    Matt

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Privacy Policy | Legal Notices | Safe Harbor Privacy Policy

Copyright © 2005 - 2019 Hitachi Vantara Corporation. All Rights Reserved.