Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

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

#313

/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.

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

State: open
Milestone: none
Assigned to: nobody

Activity

  1. Alex-SF
    Alex-SF
    • 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.

    May 31st, 2011 @ 02:35 PM

  2. Deleted User
    Deleted User

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

    May 31st, 2011 @ 03:12 PM

  3. Moses Lei
    Moses Lei

    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

    May 31st, 2011 @ 03:14 PM

  4. Alex-SF
    Alex-SF
    • State changed from open to resolved

    July 9th, 2011 @ 01:54 PM

  5. Greg Schueler
    Greg Schueler

    was a change committed that resolved this?

    July 11th, 2011 @ 09:31 AM

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.