Forum Discussion

chilber's avatar
chilber
Occasional Contributor
6 years ago
Solved

ReadyAPI Runner on Jenkins writes logs in the home directory how do I clean up?

We use a ReadyAPI Runner on our Jenkins slave and we have seen that the runner writes his own log for every Job that it running. The log is located in the <home directory>/.readyapi directory, where we have a reduced space to write something. After a while the node will be unusable because the logfiles will exceed the space available. 

In the documentation I did not find an option to specify not to write logs there or a different location. How can I tell the runner not to write logs or write them elsewhere?

I'm running on linux, the used readyapi version is at 2.6.0 at the moment.

7 Replies

  • nmrao's avatar
    nmrao
    Community Hero
    Not sure, but you may try override user.directory or user.home system argument in your build step and see.
      • chilber's avatar
        chilber
        Occasional Contributor

        Hi,

        moving the home directory will effect other installed software, so this is not an option.

        Isn't this a problem for everyone, that the runner will create a hidden directory which will grow for ever without the possibility of cleaning it up? We set up the automation hosts automatically and no one is meant actually log on to it.

        Thx

        Carsten