#313 ✓resolved
Moses Lei

/var/log/rundeck/service.log never rotated

Reported by Moses Lei | 2011-05-27 17:19:43 UTC

/var/log/rundeck/service.log in 1.1/1.2 is never rotated, even on server startup. It's just appended to forever.

We should rotate on startup and daily.

Comments and changes to this ticket

  • Alex-SF

    Alex-SF 2011-05-31 14:35:03 UTC

    • Milestone cleared.
    • State changed from “new” to “open”

    Output is redirected to the service.log from the startup script, rundeckd. It differs depending on rpm or launcher:

    RPM:

    nohup runuser -l rundeck -c "$rundeckd" 2>&1 >>/var/log/rundeck/service.log &
    

    or launcher:

    nohup $rundeckd 2>&1 >>$RDECK_BASE/var/log/service.log &
    

    Rotation could be built in to this script though it may not be universally acceptable and will also require restart.

  • Deleted User

    Deleted User 2011-05-31 15:12:18 UTC

    For the RPM version...why not use logrotate?

  • Moses Lei

    Moses Lei 2011-05-31 15:14:09 UTC

    Yeah, for the RPM version we can use the copy-and-truncate mode of
    logrotate. We can also rotate on startup for both-- we used to do that for
    non-embedded Jetty.

    Moses

  • Alex-SF

    Alex-SF 2011-07-09 13:54:46 UTC

    • State changed from “open” to “resolved”
  • Greg Schueler

    Greg Schueler 2011-07-11 09:31:13 UTC

    was a change committed that resolved this?

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

(DEPRECATED) Please use github issues for issue tracking at http://github.com/dtolabs/rundeck/issues

Shared Ticket Bins

People watching this ticket

Pages