🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #80861

Re: Suggestion for mailpost

#80861
From: Julien ÉLIE
Date: Mon, 04 May 2009 06:30
27 lines
2212 bytes
Hi D. Stussy,

>> I have just committed:
>>
>>     syslog("err", "$msg\n") if $debugging && $use_syslog;
>>
>> Thanks,
>
> OK.  Close enough - although I'd prefer "if (debugging OR use_syslog)".  I
> think this is the one place that should get into the syslog regardless of
> the state of the debugging flag

Then it is "if $use_syslog" only :)


> Lastly, I wasn't certain if the newline was needed for syslog().  Other
> calls don't have it.

4 have it; 2 do not have it (at least in INN 2.4.6).
I think we should remove "\n", as you say.

-- 
Julien ÉLIE

« Mais pourquoi courent-ils si vite ? Pour gagner du temps ! Comme le temps,
  c'est de l'argent... plus ils courent vite, plus ils en gagnent. » (Raymond Devos) 
Technical Details
Message-ID: <gtm26e$29u$1@news.trigofacile.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!feeder.news-service.com!de-l.enfer-du-nord.net!gegeweb.org!news.trigofacile.com!not-for-mail
References: <878wnex9f4.fsf@windlord.stanford.edu> <75mc7qF195jsaU1@mid.individual.net> <gtj1pq$4hl$1@aux.snarked.org> <gtl4ia$656$1@news.trigofacile.com> <gtl8s9$fjr$1@aux.snarked.org>

Show Full Headers
Complete Article Headers
Message-ID: <gtm26e$29u$1@news.trigofacile.com>
Subject: Re: Suggestion for mailpost
Date: Mon, 4 May 2009 08:30:18 +0200
From: Julien ÉLIE <iulius@nom-de-mon-site.com.invalid>
References: <878wnex9f4.fsf@windlord.stanford.edu> <75mc7qF195jsaU1@mid.individual.net> <gtj1pq$4hl$1@aux.snarked.org> <gtl4ia$656$1@news.trigofacile.com> <gtl8s9$fjr$1@aux.snarked.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!feeder.news-service.com!de-l.enfer-du-nord.net!gegeweb.org!news.trigofacile.com!not-for-mail
Newsgroups: news.software.nntp
Organization: TrigoFACILE -- http://www.trigofacile.com/
Lines: 27
NNTP-Posting-Host: aaubervilliers-151-1-58-234.w83-112.abo.wanadoo.fr
Mime-Version: 1.0
Content-Type: text/plain; format=flowed; charset="Windows-1252";
 reply-type=original
Content-Transfer-Encoding: 8bit
X-Trace: news.trigofacile.com 1241418766 2366 83.112.31.234 (4 May 2009
X-Complaints-To: abuse@trigofacile.com
NNTP-Posting-Date: Mon, 4 May 2009 06:32:46 +0000 (UTC)
In-Reply-To: <gtl8s9$fjr$1@aux.snarked.org>
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Windows Mail 6.0.6001.18000
X-MimeOLE: Produced By Microsoft MimeOLE V6.0.6001.18049