-
Notifications
You must be signed in to change notification settings - Fork 94
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Dev: Parametrize the log dir #939
Dev: Parametrize the log dir #939
Conversation
Nice, as a user, this is what we needed (as you know, a cluster is used to mitigate downtimes, and if we need to enable tracing in production a full /var is not very good to avoid downtimes :-) ). Question: Will trace_dir be available as cluster wide default option so we can add it to our default setup and only switch trace_ra per resource if needed? e.g
EDIT:
|
Oops, I forgot to put the reference to the draft PR #935 @jpbuecken , exactly, the cib file will be changed like (assumung there is a
|
It's an op parameter, so it's likely to work with
|
b8ee982
to
f0f7052
Compare
Hi @liangxin1300 , can you please approve my PR? |
Sorry for late, I will take a look today Thanks! |
Other part of codes looks good to me. |
By default all logs are stored in /var/lib/heartbeat/trace_ra This patch adds a new resource attribute trace_dir to the cib.file The trace_dir should come alongside the trace_ra, whereas trace_ra signals that the resource is traced, the trace_dir defines the path.
08de0fb
to
dadec52
Compare
By default all logs are stored in
/var/lib/heartbeat/trace_ra
This patch adds a new resource attribute trace_dir to the
cib.file
The
trace_dir
should come alongside thetrace_ra
,whereas
trace_ra
signals that the resource is traced,the
trace_dir
defines the path.