Bacula-users

Re: [Bacula-users] Purge console messages?

2015-04-29 01:59:03
Subject: Re: [Bacula-users] Purge console messages?
From: Kern Sibbald <kern AT sibbald DOT com>
To: "Roberts, Ben" <ben.roberts AT gsacapital DOT com>, Luc Van der Veken <lucvdv AT wimionline DOT com>, "bacula-users AT lists.sourceforge DOT net" <bacula-users AT lists.sourceforge DOT net>
Date: Wed, 29 Apr 2015 07:54:06 +0200
Hello,

The default is:

    console = all, !skipped, !saved

so if you do not want the console messages to be stored in the catalog, you must add !catalog e.g.

     console = all, !skipped, !saved, !catalog

The catalog messages are purged with the Job records.

bconsole does not use the catalog to display messages during the messages command.  These are stored in a file in your working directory.  This file has the extention .conmsg.  If you truncate it, the bconsole messages will not be displayed.

I am not 100% sure about this, but I believe that if you simply cancel bconsole after typing "messages" and re-execute it you will no longer have any messages queued.

Best regards,
Kern
  

On 28.04.2015 16:02, Roberts, Ben wrote:

Hi Luc,

 

If you don’t want the messages to show up in the console at all, why not disable them at source rather than strip them out retrospectively?

 

Messages {

  console = !all

}

 

(which might be the default since I have “console = all, !skipped, !saved” in my config file, I can’t see from a quick scan of the manual)

 

Regards,

Ben Roberts

 

From: Luc Van der Veken [mailto:lucvdv AT wimionline DOT com]
Sent: 28 April 2015 14:51
To: bacula-users AT lists.sourceforge DOT net
Subject: Re: [Bacula-users] Purge console messages?

 

Answering myself: I put this in a script in my home directory as a temporary solution.

It may still take some time, but I suppose far less than letting it all be displayed.

 

#!/bin/sh

echo messages | bconsole > /dev/null

bconsole

 

 

From: Luc Van der Veken [mailto:lucvdv AT wimionline DOT com]
Sent: 28 April 2015 15:02
To: bacula-users AT lists.sourceforge DOT net
Subject: [Bacula-users] Purge console messages?

 

Is there a way to clear the buffer containing the console messages waiting to be displayed in bconsole?

Or to purge anything older than, say, a day?

 


This email and any files transmitted with it contain confidential and proprietary information and is solely for the use of the intended recipient. If you are not the intended recipient please return the email to the sender and delete it from your computer and you must not use, disclose, distribute, copy, print or rely on this email or its contents. This communication is for informational purposes only. It is not intended as an offer or solicitation for the purchase or sale of any financial instrument or as an official confirmation of any transaction. Any comments or statements made herein do not necessarily reflect those of GSA Capital. GSA Capital Partners LLP is authorised and regulated by the Financial Conduct Authority and is registered in England and Wales at Stratton House, 5 Stratton Street, London W1J 8LA, number OC309261. GSA Capital Services Limited is registered in England and Wales at the same address, number 5320529.



------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y


_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users

------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users
<Prev in Thread] Current Thread [Next in Thread>