From 8d6e334a45a0bfda9e40deb08c440362715015f7 Mon Sep 17 00:00:00 2001 From: Michael Kerrin Date: Mon, 1 Dec 2014 16:19:07 +0000 Subject: [PATCH] Store collectl logs in /mnt/state/var/log/collectl Change-Id: I4ff36f8c89ecfc3f5a2a42aaa0202f90e0ad23c2 --- elements/collectl/install.d/85-collectl | 3 +++ 1 file changed, 3 insertions(+) diff --git a/elements/collectl/install.d/85-collectl b/elements/collectl/install.d/85-collectl index 024237356..363c95685 100755 --- a/elements/collectl/install.d/85-collectl +++ b/elements/collectl/install.d/85-collectl @@ -11,3 +11,6 @@ os-svc-enable -an collectl # networks. Both raw and plottable files will be produced. sudo sed -i "/^DaemonCommands/c\DaemonCommands = -f /var/log/collectl -r00:00,7 -m -F60 -scdmnZ --rawnetfilt eth|bond -P --rawtoo" /etc/collectl.conf + +# Save all collectl logs to /mnt/state +register-state-path --leave-symlink /var/log/collectl