public inbox for gnats-devel@sourceware.org
 help / color / mirror / Atom feed
From: "Andrew J. Gray" <andrewg@gnu.org>
To: prashanthguduru@yahoo.com
Cc: help-gnats@gnu.org
Subject: Re: Error Code 431
Date: Sun, 14 Sep 2003 08:51:00 -0000	[thread overview]
Message-ID: <200309140825.h8E8PKi02709@localhost.localdomain> (raw)
In-Reply-To: <20030910132517.57978.qmail@web13408.mail.yahoo.com> (message from Prashanth Guduru on Wed, 10 Sep 2003 06:25:17 -0700 (PDT))

Hi Prashanth,

> Is there a way i can view the
> logs/output of gnatsd.

I have had a look into the gnatsd logging functionality to see if it
might help you with this problem.  Sometimes gnatsd will log error
messages to the system log, so it might be worthwhile looking there to
see if there are any messages that appear when the problem occurs.
(I think the system log is /var/log/messages on a default Red Hat
GNU/Linux installation.)

The gnatsd code has functionality for logging "debugging" information,
but there is no interface for enabling this.  To enable it you would
need to make a small change to the source code, rebuild and reinstall
GNATS.  A patch file with the the required change is at the end of
this message.  The information logged when a PR is successfully
created is not very extensive, it looks like this:

Sep 14 13:22:08 olga gnatsd[1936]: gnatsd: responsible person is: andrewg 
Sep 14 13:22:08 olga gnatsd[1936]: gnatsd: PR written out: /usr/local/com/gnatsdb/hammer/2

It is difficult to say if enabling debug logging would help you find
the cause of the problem you are seeing.  I guess it might be worth a
try if you exhaust other approaches.

Andrew J. Gray
GNU GNATS Maintainer

--- gnats-4.0/gnats/gnatsd.c	Tue Oct 22 20:40:57 2002
+++ gnats-4.0patch/gnats/gnatsd.c	Sun Sep 14 13:20:15 2003
@@ -1003,6 +1003,7 @@
   fflush (stdout);
 
   init_logging (NULL);  
+  enable_debugging ();
 
   if (gethostname (myname, MAXHOSTNAMELEN) != 0)
     {


_______________________________________________
Help-gnats mailing list
Help-gnats@gnu.org
http://mail.gnu.org/mailman/listinfo/help-gnats

  parent reply	other threads:[~2003-09-14  8:23 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-09-10 13:40 Prashanth Guduru
2003-09-10 15:09 ` Yngve Svendsen
2003-09-14  8:51 ` Andrew J. Gray [this message]
2003-09-10 18:39 Prashanth Guduru
2003-09-14  8:23 [ Re: Re: Error Code 431] Prashanth Guduru
2003-09-15 14:41 ` Error Code 431 Andrew J. Gray
2003-09-18  1:05   ` Prashanth Guduru
2003-10-11 22:03   ` Prashanth Guduru

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200309140825.h8E8PKi02709@localhost.localdomain \
    --to=andrewg@gnu.org \
    --cc=help-gnats@gnu.org \
    --cc=prashanthguduru@yahoo.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).