Running GData Applications

Running GData Applications — running and debugging GData applications

Running and Debugging GData Applications

Environment variables

libgdata makes use of a few environment variables which affect how it runs, mainly with respect to debugging.

LIBGDATA_FORCE_HTTPIf this environment variable is defined, libgdata will force the use of HTTP for requests which would otherwise normally use HTTPS. This allows the network traffic to be debugged more easily.

LIBGDATA_DEBUGIf this environment variable is set to one of the following values, libgdata will give debug output (at various levels). If it's unset, no debug output will be produced.

0

Output no debug messages or network logs.

1

Output debug messages, but not network logs.

2

Output debug messages and network traffic headers.

3

Output debug messages and full network traffic logs.