fetchmail-friends
[Top] [All Lists]

Re: [fetchmail]fetchmail 5.8.3 --syslog problem

2001-05-21 09:36:01
Chris Lloyd <strawberry(_at_)toth(_dot_)org(_dot_)uk>:
Hello there.

When applying syslog output with fetchmail using the "set syslog" option in
.fetchmailrc, fetchmail will write out the fetching messages to the syslog but
it will write out the .....s to stdout.

(I assume this isn't normal, I expected fetchmail to be silent when doing
syslog output (except for stderr messages))

--

blade:/wd1a/distfiles/ 9% fetchmail -a
.........................................................................................................................................blade:/wd1a/distfiles/
 10% 

Are you sure you're running 5.8.3?   Here's th code that emits progress 
dots.  I don't see how it can produce the results you describe unless
you have showdots on.

        /* write the message size dots */
        if ((outlevel > O_SILENT && outlevel < O_VERBOSE) && linelen > 0)
        {
            sizeticker += linelen;
            while (sizeticker >= SIZETICKER)
            {
                if ((!run.use_syslog && !isafile(1)) || run.showdots)
                {
                    fputc('.', stdout);
                    fflush(stdout);
                }
                sizeticker -= SIZETICKER;
            }
        }

-- 
                <a href="http://www.tuxedo.org/~esr/";>Eric S. Raymond</a>

"...The Bill of Rights is a literal and absolute document. The First
Amendment doesn't say you have a right to speak out unless the
government has a 'compelling interest' in censoring the Internet. The
Second Amendment doesn't say you have the right to keep and bear arms
until some madman plants a bomb. The Fourth Amendment doesn't say you
have the right to be secure from search and seizure unless some FBI
agent thinks you fit the profile of a terrorist. The government has no
right to interfere with any of these freedoms under any circumstances."
        -- Harry Browne, 1996 USA presidential candidate, Libertarian Party


<Prev in Thread] Current Thread [Next in Thread>