On 10/19/2016 04:46 PM, Lindsay Mathieson wrote:
On 20/10/2016 9:30 AM, Joe Julian wrote:
Joe, when you say truncated, just delete the logs before the test is
started?
That's one way of doing it, yes. :)
nb: I've noticed that if you delete the logs while gluster is running
they won't be recreated, you have to restart the services. Is there a
better way of doing it?
Personally, with logrotate I use copytruncate. If I want to truncate the
whole shebang manually:
find -type f -exec truncate --size=0 {} \;
--
Lindsay Mathieson
_______________________________________________
Gluster-users mailing list
[email protected]
http://www.gluster.org/mailman/listinfo/gluster-users
_______________________________________________
Gluster-users mailing list
[email protected]
http://www.gluster.org/mailman/listinfo/gluster-users