Any way to make Barman log daily in a log rotate fashion?

215 views
Skip to first unread message

Amanda Simpson

unread,
Jan 13, 2015, 4:25:49 PM1/13/15
to pgba...@googlegroups.com
Hi,

My spec is Ubuntu 14.04, Postgresql 9.1 and Barman 1.3.0

Currently Barman is generating log file under /var/log/barman.log and it will rotate once a week. Can I make it rotate daily?

I did not see any related setting in barman.conf. Can I set it in logrotate.conf instead? Any one has any experience on this matter?

Thank you,
Amanda

Gabriele Bartolini

unread,
Jan 13, 2015, 4:34:11 PM1/13/15
to pgba...@googlegroups.com
Hello Amanda,

  our plan has been to delegate this job to logrotate, the most used system tool for log rotation. Look at the file for barman in /etc/logrotate.d

Cheers,
Gabriele

--
 Gabriele Bartolini - 2ndQuadrant Italia - Managing Director
 PostgreSQL Training, Services and Support
 gabriele....@2ndQuadrant.it | www.2ndQuadrant.it

--
--
You received this message because you are subscribed to the "Barman for PostgreSQL" group.
To post to this group, send email to pgba...@googlegroups.com
To unsubscribe from this group, send email to
pgbarman+u...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/pgbarman?hl=en?hl=en-GB

---
You received this message because you are subscribed to the Google Groups "Barman, Backup and Recovery Manager for PostgreSQL" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pgbarman+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Amanda Simpson

unread,
Jan 14, 2015, 11:45:03 AM1/14/15
to pgba...@googlegroups.com
Thank you, Gabriele.

Amanda
Reply all
Reply to author
Forward
0 new messages