Re: Locating mutt logs

Will Yardley <[email protected]>
Newsgroups gmane.mail.mutt.user
Message-ID <[email protected]>
On Tue, Jul 16, 2024 at 12:15:12AM +0100, Peter Flynn wrote:
> On 16/07/2024 00:03, Will Yardley wrote:
> > On Mon, Jul 15, 2024 at 11:51:19PM +0100, Peter Flynn wrote:
> > > 
> > > Is it possible to turn logging on without having to compile my own mutt from
> > > source? Or should I look for logs elsewhere?
> > 
> > Somewhat depends whether your build has debug enabled, but first thing
> > to try would probably be to run with "-d N" (like "-d 3", for example).
> 
> I tried that but it doesn't appear to do anything different.
> 
> *Where* would it put such debug information? Clearly not to the terminal.
 
From `mutt --help`:
  -d <level>	log debugging output to ~/.muttdebug0

from mutt(1)
https://linux.die.net/man/1/mutt

-d level
    If mutt was complied with +DEBUG log debugging output to ~/.muttdebug0. Level can range from 1-5 and effects verbosity. A value of 2 is recommended. 

> BTW does Mutt generate *any* logs at all by default (I don't mean debug
> logs).

No, not in my understanding; anything that mutt tells you would go to
stdout / stderr / the terminal AFAIK.

w
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.