/var/log/rundeck/service.log never rotated
-
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.
-
Deleted User
For the RPM version...why not use logrotate?
-
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
-
Alex-SF
- State changed from open to resolved
-
Greg Schueler
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.