Closed
Bug 1029777
Opened 11 years ago
Closed 11 years ago
Redirect runner logging output to /var/log/runner.log
Categories
(Infrastructure & Operations Graveyard :: CIDuty, task)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: ianconnolly, Assigned: ianconnolly)
References
Details
Attachments
(1 file, 1 obsolete file)
1.35 KB,
patch
|
ianconnolly
:
review+
dustin
:
checked-in+
|
Details | Diff | Splinter Review |
No description provided.
Comment 1•11 years ago
|
||
we'll need to rotate logs and delete them eventually as well.
Assignee | ||
Comment 2•11 years ago
|
||
(In reply to Chris AtLee [:catlee] from comment #1)
> we'll need to rotate logs and delete them eventually as well.
Got any suggestions for time-to-rotate and how many we should keep before deleting?
Assignee | ||
Updated•11 years ago
|
Status: NEW → ASSIGNED
Comment 3•11 years ago
|
||
No special preferences.
Rotate every boot? Keep 10 previous logs, gzip'ed?
Assignee | ||
Comment 4•11 years ago
|
||
This should do what we want to do.
Attachment #8447280 -
Flags: review?(dustin)
Comment 5•11 years ago
|
||
Comment on attachment 8447280 [details] [diff] [review]
logging.diff
Review of attachment 8447280 [details] [diff] [review]:
-----------------------------------------------------------------
r+ with that change
::: modules/runner/templates/runner.initd.erb
@@ +37,2 @@
> ### XXX -n 1 for testing
> + if ${CMD} -c ${CONFIG} -n 1 ${TASKDIR} > /var/log/runner.log 2>&1; then
You probably want >> here
Attachment #8447280 -
Flags: review?(dustin) → review+
Assignee | ||
Comment 6•11 years ago
|
||
Hrm, even with the logrotate -f line forcing a log rotation (and thus an empty file) directly above?(In reply to Dustin J. Mitchell [:dustin] from comment #5)
> Comment on attachment 8447280 [details] [diff] [review]
> logging.diff
>
> Review of attachment 8447280 [details] [diff] [review]:
> -----------------------------------------------------------------
>
> r+ with that change
>
> ::: modules/runner/templates/runner.initd.erb
> @@ +37,2 @@
> > ### XXX -n 1 for testing
> > + if ${CMD} -c ${CONFIG} -n 1 ${TASKDIR} > /var/log/runner.log 2>&1; then
>
> You probably want >> here
Hrm, even with the logrotate -f line forcing a log rotation (and thus an empty file) directly above?
Assignee | ||
Comment 7•11 years ago
|
||
Carrying the r+ over from :dustin.
Attachment #8447280 -
Attachment is obsolete: true
Attachment #8447293 -
Flags: review+
Attachment #8447293 -
Flags: checked-in?
Updated•11 years ago
|
Attachment #8447293 -
Flags: checked-in? → checked-in+
Assignee | ||
Updated•11 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Updated•7 years ago
|
Component: Platform Support → Buildduty
Product: Release Engineering → Infrastructure & Operations
Updated•6 years ago
|
Product: Infrastructure & Operations → Infrastructure & Operations Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•