>>>>> On Wed, 7 Apr 2021 14:31:00 +0200, Radosław Korzeniewski said:
> 
> Hello,
> 
> śr., 7 kwi 2021 o 14:05 Martin Simmons <mar...@lispworks.com> napisał(a):
> 
> > I forgot to say that the best way to set the command line arguments for
> > debugging purposes is to run it from a shell prompt.  Pass the normal
> > arguments as well, which you can find using
> >
> > ps augxww | grep bacula-dir
> >
> 
> Do not forget that we have a setdebug bconsole command you can use in
> runtime to log debugging information, i.e. to save it to file.
> To enable debugging I just execute this:
> * setdebug dir trace=1 level=500
> to disable:
> * setdebug dir trace=0 level=0
> 
> and it is working like a charm. This command you can use with any Bacula
> component (dir, sd, fd).
> 
> The debug trace file is saved in $WorkingDirectory and has .trace suffix.

Yes, good point.  I use setdebug myself sometimes, but it doesn't help for the
FD if the Director can't connect to it.

__Martin


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

Reply via email to