Opened 12 years ago

Closed 12 years ago

#36795 closed defect (fixed)

Logrotate does not truncate while program is running.

Reported by: mmelo@… Owned by: pixilla (Bradley Giesbrecht)
Priority: Normal Milestone:
Component: ports Version: 2.1.2
Keywords: Cc:
Port: logrotate

Description

OS 10.6.8 Xcode - 3.6.8 Latest Macports and logrotate

everything installed perfect on a clean system. we have implement logrotate on a Linux system. but the truncate feature is not working in macports version on mac osx. it only truncates if the application is not currently writing to the log file. we cannot execute a SIGHUP, to kill the program because we want the program always running, just like on Linux.

Change History (3)

comment:1 Changed 12 years ago by mf2k (Frank Schima)

Keywords: logrotate truncate removed
Owner: changed from macports-tickets@… to pixilla@…
Priority: HighNormal

In the future, please Cc the port maintainer(s) and do not change the Priority field - which is reserved for Macports maintainers' use only.

comment:3 in reply to:  2 Changed 12 years ago by pixilla (Bradley Giesbrecht)

Resolution: fixed
Status: newclosed

Replying to mmelo@…:

all set. out issue was found here:

http://serverfault.com/questions/221337/logrotate-successful-original-file-goes-back-to-original-size

Thanks. Looks like MacPorts logrotate behaves as expected so I'm closing this ticket as invalid.

Note: See TracTickets for help on using tickets.