How to Specify Directory to Redirect Logs and chaosblade.dat creation
Author: ramgitengCreated Jul 19, 2026Updated Jul 25, 2026
Issue Description
Type: Feature
Describe what happened (or what feature you want)
Ability to redirect logs/ folder and chaosblade.dat file created by blade
Describe what you expected to happen
Chaosblade consisting of an option like --log-dir or environment variable to redirect where the chaosblade.dat and logs/ folder get created.
How to reproduce it (as minimally and precisely as possible)
- Run any chaosblade experiment
- chaosblade.dat and logs/ folder are created in the directory where blade command exists
Tell us your environment
Chaosblade version: 1.5.0 OS platform & version: RHEL 9
Anything else we need to know?
- I understand that there exists a way to set an environment variable
CHAOSBLADE_DATAFILE_PATHin the latest versions of Chaosblade to set path for where chaosblade.dat gets created - Due to this issue (https://github.com/chaosblade-io/chaosblade/issues/1262#issuecomment-3638384388) I highlighted previously, I have to use chaosblade-v1.5.0 for all my experiments
I cannot provide write permissions for the current directory where blade exists.
Please provide a solution for setting path for creation of logs/ and chaosblade.dat using Chaosblade v1.5.0.
Source: chaosblade-io/chaosblade