[MacPorts] #40184: logrotate @3.8.6_2 enhance startup item for hourly directive
#40184: logrotate @3.8.6_2 enhance startup item for hourly directive ------------------------------+-------------------------------- Reporter: nonstop.server@… | Owner: macports-tickets@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Keywords: haspatch | Port: logrotate ------------------------------+-------------------------------- Enhance the example launchd plist to grant users the option to use the hourly directive. {{{ hourly Log files are rotated every hour. Note that usually logrotate is configured to be run by cron daily. You have to change this con- figuration and run logrotate hourly to be able to really rotate logs hourly. }}} The proposed patch has also two other changes, namely two added keys, `LowPriorityIO` and `Nice` which are used in the plist for newsyslogd. {{{ LowPriorityIO <boolean> This optional key specifies whether the kernel should consider this daemon to be low priority when doing file system I/O. Nice <integer> This optional key specifies what nice(3) value should be applied to the daemon. }}} -- Ticket URL: <https://trac.macports.org/ticket/40184> MacPorts <http://www.macports.org/> Ports system for OS X
#40184: logrotate @3.8.6_2 enhance startup item for hourly directive -------------------------------+----------------------- Reporter: nonstop.server@… | Owner: pixilla@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: | Keywords: haspatch Port: logrotate | -------------------------------+----------------------- Changes (by pixilla@…): * cc: pixilla@… (removed) * owner: macports-tickets@… => pixilla@… Comment: This being an example file I am unsure how removing the StartCalendarInterval Hour directive is a better example. Do your StartCalendarInterval changes represent a more common use case? The LowPriorityIO and Nice directives could be helpful to the user. -- Ticket URL: <https://trac.macports.org/ticket/40184#comment:1> MacPorts <http://www.macports.org/> Ports system for OS X
#40184: logrotate @3.8.6_2 enhance startup item for hourly directive -------------------------------+----------------------- Reporter: nonstop.server@… | Owner: pixilla@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: | Keywords: haspatch Port: logrotate | -------------------------------+----------------------- Comment (by nonstop.server@…): Replying to [comment:1 pixilla@…]: Your right it is not a better example by removing the Hour directive, but maybe it would be helpful to add a comment about the hourly option.[[BR]] Something like: "You have to remove the Hour directive to run logrotate hourly and be able to really rotate logs hourly." -- Ticket URL: <https://trac.macports.org/ticket/40184#comment:2> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts