You can use "setdebug trace=1 level=NN client=XXX" on the director to
enable tracing on the client. This will log all debug messages to a file
(the setdebug command will output the location of the tracefile).

Best Regards,
Andreas

Am 07.06.20 um 15:40 schrieb Oleg Volkov:
> Thank you,
> I see debug messages comes to console.
> Is it possible to forward them to /var/log/bareos/something.log or SYSLOG ?
> There is rare error on client side that I need to catch.
> 
> 
> 
> On Sunday, June 7, 2020 at 4:24:36 PM UTC+3, Andrei Brezan wrote:
> 
>     On 07/06/2020 14:35, Oleg Volkov wrote:
>     > Hi, All
>     >
>     > According to "man bareos-fd" there is "-d nn" option to set up
>     debug level.
>     > Do anybody know what "nn" should be ?
> 
>     I usually use 150 or 100. You can check the source code for debug
>     messages to see their level is you know where your issues are
>     happening,
>     one example is
>     
> https://github.com/bareos/bareos/blob/master/core/src/plugins/filed/BareosFdPluginPerconaXtraBackup.py#L165
>     
> <https://github.com/bareos/bareos/blob/master/core/src/plugins/filed/BareosFdPluginPerconaXtraBackup.py#L165>
> 
> 
>     -- 
>     Andrei
> 
> -- 
> You received this message because you are subscribed to the Google
> Groups "bareos-users" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to bareos-users+unsubscr...@googlegroups.com
> <mailto:bareos-users+unsubscr...@googlegroups.com>.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/bareos-users/ee318782-2b65-4615-96ce-d35034b74137o%40googlegroups.com
> <https://groups.google.com/d/msgid/bareos-users/ee318782-2b65-4615-96ce-d35034b74137o%40googlegroups.com?utm_medium=email&utm_source=footer>.

-- 
Andreas Rogge                             andreas.ro...@bareos.com
  Bareos GmbH & Co. KG                      Phone: +49 221-630693-86
  http://www.bareos.com

  Sitz der Gesellschaft: Köln | Amtsgericht Köln: HRA 29646
  Komplementär: Bareos Verwaltungs-GmbH
  Geschäftsführer: S. Dühr, M. Außendorf, J. Steffens, Philipp Storz

-- 
You received this message because you are subscribed to the Google Groups 
"bareos-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to bareos-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/bareos-users/48e29f83-0ec9-1cc3-9cf4-0ad45cc2f5aa%40bareos.com.

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to