#313 ✓resolved
Moses Lei

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

Reported by Moses Lei | May 27th, 2011 @ 05:19 PM

/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 May 31st, 2011 @ 02:35 PM

    • 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:


    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 May 31st, 2011 @ 03:12 PM

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

  • Moses Lei

    Moses Lei May 31st, 2011 @ 03:14 PM

    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.


  • Alex-SF

    Alex-SF July 9th, 2011 @ 01:54 PM

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

    Greg Schueler July 11th, 2011 @ 09:31 AM

    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