[JDEV] Why no debug with background

Ben Schumacher ben-jdev at blahr.com
Wed Feb 13 12:25:07 CST 2002


I would think the only reason not to do debug on background is that you
can't redirect the output to a file. If the builtin going to background
works the way I'd expect it to work, it would fork off another process
then exit the main process. This would cause the redirection of stderr to
stop after the process was forked... as least, I think it would. Does this
sound correct to anybody else?

Ben

On Wed, 13 Feb 2002, Tim Ferguson wrote:
> Thanks temas,
>
> I saw that, but I didn't want to break anything, or at least I thought I
> would ask and save some trouble ;-)  I'll let you know if I notice anything
> weird.
>
> Tim Ferguson
> Cable & Wireless
> 719-590-4100
>
> -----Original Message-----
> From: jdev-admin at jabber.org [mailto:jdev-admin at jabber.org]On Behalf Of
> Thomas Muldowney
> Sent: Wednesday, February 13, 2002 8:45 AM
> To: jdev at jabber.org
> Subject: Re: [JDEV] Why no debug with background
>
> There was a reason I did it, but I've forgotten it now.  If you flip
> through the code there is one line to change, where it says the debug
> variables to false.  Just comment it out, and it should be back.
>
>
> --temas
>
>
> On Wed, Feb 13, 2002 at 08:31:11AM -0700, Tim Ferguson wrote:
> > Hi All,
> >
> > Thank you so much for all of the work on jabber-1.4.2.  I was wondering
> what
> > the reasoning was to disable debug output when the process is put into
> > background mode?  I run my server, for now, with debug turned on so that
> > when there is a problem I can see what it was that caused the problem and
> > even when using my own process to ?background? it I have redirected stder
> to
> > a file.  This has shown to be useful on several occasions, but I am
> > wondering if you know of something that will break if debug was turned on
> > even if the server is put in background mode through the new 1.4.2 way.
> >
> > Thanks,
> >
> > Tim Ferguson
> >
> >
>
> --
> Thomas Muldowney
> email/jabber: temas at jabber.org
>
> _______________________________________________
> jdev mailing list
> jdev at jabber.org
> http://mailman.jabber.org/listinfo/jdev
>




More information about the JDev mailing list