All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] arm-autonomy/xenguest-manager: Document VOLATILE_LOG_DIR in recipe
@ 2021-01-07 10:10 Nathan Dunne
  2021-01-08 14:48 ` [meta-arm] " Jon Mason
  0 siblings, 1 reply; 2+ messages in thread
From: Nathan Dunne @ 2021-01-07 10:10 UTC (permalink / raw)
  To: meta-arm; +Cc: nd, Nathan Dunne

From: Nathan Dunne <Nathan.Dunne@arm.com>

Added a comment to the xenguest-manager recipe to inform the user that
the default state is a volatile log dir, and how to persist logs across
reboots.

Issue-Id: SCM-1860
Signed-off-by: Nathan Dunne <Nathan.Dunne@arm.com>
Change-Id: Ie0c92b05d11543a1524cbb7a53cd845bc63ecd3d
---
 .../recipes-extended/xenguest/xenguest-manager.bb      | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/meta-arm-autonomy/recipes-extended/xenguest/xenguest-manager.bb b/meta-arm-autonomy/recipes-extended/xenguest/xenguest-manager.bb
index 16a0700..ffb0fc3 100644
--- a/meta-arm-autonomy/recipes-extended/xenguest/xenguest-manager.bb
+++ b/meta-arm-autonomy/recipes-extended/xenguest/xenguest-manager.bb
@@ -2,6 +2,16 @@
 #
 # xenguest-manager is a tool to control xen guest (e.g. create, start, stop)
 #
+# By default xenguest-manager logs to /var/log when in verbose mode, which is a
+# Volatile directory. To persist logs across reboots the following needs to be
+# added to either local.conf or distro.conf
+#
+#   VOLATILE_LOG_DIR="no"
+#
+# Read more here: https://www.yoctoproject.org/docs/latest/mega-manual/mega-manual.html#var-VOLATILE_LOG_DIR
+#
+# When this is enabled, logrotate will monitor the file to ensure it does not grow
+# excessively large. See files/logrotate-xenguest
 
 DESCRIPTION = "Xen Guest Manager"
 LICENSE = "MIT"
-- 
2.17.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [meta-arm] [PATCH] arm-autonomy/xenguest-manager: Document VOLATILE_LOG_DIR in recipe
  2021-01-07 10:10 [PATCH] arm-autonomy/xenguest-manager: Document VOLATILE_LOG_DIR in recipe Nathan Dunne
@ 2021-01-08 14:48 ` Jon Mason
  0 siblings, 0 replies; 2+ messages in thread
From: Jon Mason @ 2021-01-08 14:48 UTC (permalink / raw)
  To: Nathan Dunne; +Cc: meta-arm, nd

On Thu, Jan 07, 2021 at 10:10:54AM +0000, Nathan Dunne wrote:
> From: Nathan Dunne <Nathan.Dunne@arm.com>
> 
> Added a comment to the xenguest-manager recipe to inform the user that
> the default state is a volatile log dir, and how to persist logs across
> reboots.
> 
> Issue-Id: SCM-1860
> Signed-off-by: Nathan Dunne <Nathan.Dunne@arm.com>
> Change-Id: Ie0c92b05d11543a1524cbb7a53cd845bc63ecd3d
> ---

Pulled into master.

Thanks,
Jon

>  .../recipes-extended/xenguest/xenguest-manager.bb      | 10 ++++++++++
>  1 file changed, 10 insertions(+)
> 
> diff --git a/meta-arm-autonomy/recipes-extended/xenguest/xenguest-manager.bb b/meta-arm-autonomy/recipes-extended/xenguest/xenguest-manager.bb
> index 16a0700..ffb0fc3 100644
> --- a/meta-arm-autonomy/recipes-extended/xenguest/xenguest-manager.bb
> +++ b/meta-arm-autonomy/recipes-extended/xenguest/xenguest-manager.bb
> @@ -2,6 +2,16 @@
>  #
>  # xenguest-manager is a tool to control xen guest (e.g. create, start, stop)
>  #
> +# By default xenguest-manager logs to /var/log when in verbose mode, which is a
> +# Volatile directory. To persist logs across reboots the following needs to be
> +# added to either local.conf or distro.conf
> +#
> +#   VOLATILE_LOG_DIR="no"
> +#
> +# Read more here: https://www.yoctoproject.org/docs/latest/mega-manual/mega-manual.html#var-VOLATILE_LOG_DIR
> +#
> +# When this is enabled, logrotate will monitor the file to ensure it does not grow
> +# excessively large. See files/logrotate-xenguest
>  
>  DESCRIPTION = "Xen Guest Manager"
>  LICENSE = "MIT"
> -- 
> 2.17.1
> 

> 
> 
> 


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-01-08 14:48 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-07 10:10 [PATCH] arm-autonomy/xenguest-manager: Document VOLATILE_LOG_DIR in recipe Nathan Dunne
2021-01-08 14:48 ` [meta-arm] " Jon Mason

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.