Re: [Bacula-users] console messages
2012-10-05 02:43:23
Op 20121003 om 15:05 schreef Dan Langille:
> On 2012-09-28 07:00, Gary Stainburn wrote:
> > I don't log into bconsole for maybe a week at at time and when I do
> > I'm usually messing about with config settings.
> >
> > I tend to always run 'auto on' as the first command but can sometimes
> > have to wait over 5 minutes for a week's worth of log entries to
> > scroll up my screen.
> >
> > Is there a way to limit the entries displayed to say the last 4 hours,
> > or the last 1000 lines?
>
> You could truncate the old log. Look for bacula-dir.conmsg in the
> bacula-dir working directory
>
> I have no idea of the repercussions of doing this.
Here a less evil trick, execute from shell
echo messages | /etc/bacula/scripts/bconsole > /dev/null
Put it in a cronjob that runs at night
to have each moring a (nearly) empty message buffer.
Cheers
Geert Stappers
--
http://www.vanadcimplicity.com/
------------------------------------------------------------------------------
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users
|
|
|