gnunet-developers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to enable special logging for a service?


From: Christian Grothoff
Subject: Re: How to enable special logging for a service?
Date: Mon, 18 May 2020 09:48:13 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.7.0

To enable DEBUG-level logging, you must run configure with
--enable-logging=verbose.

-Christian

On 5/17/20 9:17 PM, Cy wrote:
> I added this to ~/.config/gnunet.conf:
> 
> [fs]
> OPTIONS = -L DEBUG -l $GNUNET_CACHE_HOME/fs-%Y-%m-%d.log
> 
> and... it did nothing. How do I set options for a service? Or how do I
> set up special logging for a service? I can't find anything in the
> reference manual about how to do it.
> 
> After following the configuration loading code for about 2 hours trying
> to understand it, I tried this:
> [fs]
> CONFIG = ~/.config/gnunet-fs.conf
> 
> and then in gnunet-fs.conf:
> [arm]
> OPTIONS = -L DEBUG -l $GNUNET_CACHE_HOME/fs-%Y-%m-%d.log
> [fs]
> OPTIONS = -L DEBUG -l $GNUNET_CACHE_HOME/fs-%Y-%m-%d.log
> 
> And arm did call gnunet-service-fs with -c ~/.config/gnunet-fs.conf but
> that still didn't start creating a debug log.

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]