Hello Marco,

Now I understand your question, thanks!
So, these are daemon messages and you have your Messages resource for
daemon messages configured to send them to the console by using "console =
all, !skipped, !saved".

If you wish to send those messages to the .log file only, for example, just
set "console = !all":

Messages {
  Name = Daemon
  Description = "Messages resource for daemons (no jobs)"
  mailcommand = "/usr/sbin/bsmtp -h localhost -f \"\(Bacula LNF\) \<%r\>\"
-s \"[BaculaLNF] Notifica generica dal sistema di backup.\" %r"
  mail = some.e@mail.address = all, !skipped
  console = all, !skipped, !saved
  append = "/var/log/bacula/bacula.log" = all, !skipped
  catalog = all, !skipped, !saved
 }

It means that no daemon messages will go to the console (these messages are
displayed when you type "messages" in bconsole or "m", etc.).

Hope it helps!

Best,
Ana


On Thu, Feb 2, 2023 at 4:17 PM Marco Gaiarin <g...@lilliput.linux.it> wrote:

> Mandi! Ana Emília M. Arruda
>   In chel di` si favelave...
>
> [ Could you please stop putting me in TO/CC?! mailman is so dumb that don't
>   send email if i'm on To:/CC:, and all my email archive goes bad ]
>
> > This is a message from Bacula daemons. It seems that you have the  "
> > bts-station1513.dyn.pp.lnf.it" value in the Address directive
> configured in one
> > of your Bacula hosts. The error is related to name resolution when
> Bacula tries
> > to connect to this host. So it must be configured somewhere in your
> > environment.
>
> Ana, thanks for the answer.
>
> Sure, the client are 'roaming' client and so it is normal that are not
> reachable.
>
>
> The question is not about the message 'per se', but on why messages like
> that came only if i log on console and i write 'mes', or when i restart
> bacula-dir.
>
>
> And, clearly, how to 'filter' them.
>
>
> Thanks.
>
>
> _______________________________________________
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users
>
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to