-
Notifications
You must be signed in to change notification settings - Fork 313
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
Store build.log in log directory #818
Changes from 2 commits
823b1e5
679aef8
c4d2574
dd68f38
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -135,6 +135,18 @@ The log file will not be rotated automatically as this is problematic due to Ral | |
notifempty # don't attempt to rotate empty ones | ||
} | ||
|
||
If you are benchmarking source builds of Elasticsearch, Rally will write the log output of the build to ``~/.rally/logs/build.log``. Similarly to the configuration for ``rally.log``, you can use the following ``logrotate`` configuration as a starting point:: | ||
|
||
/home/user/.rally/logs/build.log { | ||
daily # rotate daily | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. In-line comments don't work. They should be in a separate line. (From man logrotate
We need to update also the example for There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. addressed in dd68f38. |
||
rotate 7 # keep the last seven log files | ||
maxage 14 # remove logs older than 14 days | ||
compress # compress old logs ... | ||
delaycompress # ... after moving them | ||
missingok # ignore missing log files | ||
notifempty # don't attempt to rotate empty ones | ||
} | ||
|
||
Example | ||
~~~~~~~ | ||
|
||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
When reading this first time, it may not be entirely clear what the logrotate config is for, I suggest we rephrase:
to
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I thought that can be inferred based on context (i.e. reading the paragraph above about
rally.log
).