Hitachi Vantara Pentaho Community Forums
Results 1 to 2 of 2

Thread: how to Disable logging temporarily during runtime and resume logging after few steps

  1. #1

    Default how to Disable logging temporarily during runtime and resume logging after few steps

    Hi,
    Is it possible to disable logging temporarily during runtime and resume logging after few steps.
    Reason for this requirement:
    I have process that waits for file as its source input and I am using wait for this file job entry step to look for this file
    every one minute. The problem is each time it does a lookup for the file there is an entry in the log file.
    Assuming that there could be an infinite delay then there could be entry into log file during each lookup.
    There is risk of space exhaustion due to log file growing in size. So I want to disable logging dynamically after the first lookup
    and only resuming after it finds the file.

    Please let me know how to implement this if there is a solution.

    regards,
    Pramod.

  2. #2
    Join Date
    Mar 2011
    Posts
    19

    Default

    Logging is setup at the Job level, can you use a Job Executor step (which disappeared between the 4.4 milestone builds and final but is in the 4.5/5 builds)? You could set this step to not log but to emit a result perhaps.

Tags for this Thread

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.