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: t3sserakt
Subject: Re: How to enable special logging for a service?
Date: Wed, 20 May 2020 06:15:00 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.8.0

"GNUNET_LOG" and "GNUNET_FORCE_LOG" variables must contain a specially formatted logging definition string, which looks like this: 

[component];[file];[function];[from_line[-to_line]];loglevel[/component...]


"GNUNET_FORCE_LOGFILE" will completely override the location of the
file to log messages to


From https://docs.gnunet.org/handbook/gnunet.html#Logging
 
On 20.05.20 01:36, Cy wrote:
On Mon, 2020-05-18 at 09:48 +0200, Christian Grothoff wrote:
To enable DEBUG-level logging, you must run configure with
--enable-logging=verbose.

Thanks, uh...

./configure --cache=config.cache --prefix=/custom/gnunet --with-extractor=/custom/gnunet --with-jansson=/custom/gnunet --with-libcurl=/custom/gnunet --with-libgnurl=/custom/gnunet --with-x --enable-experimental --enable-gcc-hardening --enable-linker-hardening --enable-logging=verbose

That's my configure command. I did know to enable verbose logging. I just can't figure out how to turn it on for one service, to a separate file.

Attachment: pEpkey.asc
Description: application/pgp-keys


reply via email to

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