[MERGED] osmo-gsm-manuals[master]: OsmoGSMTester: document logrotate maxsize

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

Neels Hofmeyr gerrit-no-reply at lists.osmocom.org
Wed Oct 11 00:04:02 UTC 2017


Neels Hofmeyr has submitted this change and it was merged.

Change subject: OsmoGSMTester: document logrotate maxsize
......................................................................


OsmoGSMTester: document logrotate maxsize

Change-Id: Ib3e7143eb5d90eea4860a0a334da25efe926a231
---
M OsmoGSMTester/chapters/install.adoc
1 file changed, 8 insertions(+), 0 deletions(-)

Approvals:
  Neels Hofmeyr: Looks good to me, approved
  Jenkins Builder: Verified



diff --git a/OsmoGSMTester/chapters/install.adoc b/OsmoGSMTester/chapters/install.adoc
index 4d2b677..6eef2fa 100644
--- a/OsmoGSMTester/chapters/install.adoc
+++ b/OsmoGSMTester/chapters/install.adoc
@@ -484,6 +484,14 @@
 gpasswd -a jenkins usrp
 ----
 
+==== Log Rotation
+
+To avoid clogging up /var/log, it makes sense to choose a sane maximum log size:
+
+----
+echo maxsize 10M > /etc/logrotate.d/maxsize
+----
+
 ==== Install Scripts
 
 IMPORTANT: When using the jenkins build slave as configured above, *there is no

-- 
To view, visit https://gerrit.osmocom.org/4065
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Ib3e7143eb5d90eea4860a0a334da25efe926a231
Gerrit-PatchSet: 2
Gerrit-Project: osmo-gsm-manuals
Gerrit-Branch: master
Gerrit-Owner: Neels Hofmeyr <nhofmeyr at sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: Neels Hofmeyr <nhofmeyr at sysmocom.de>



More information about the gerrit-log mailing list