1WATCHGNUPG(1)                  GNU Privacy Guard                 WATCHGNUPG(1)
2
3
4

NAME

6       watchgnupg - Read and print logs from a socket
7

SYNOPSIS

9       watchgnupg [--force] [--verbose] socketname
10
11

DESCRIPTION

13       Most  of the main utilities are able to write their log files to a Unix
14       Domain socket if configured that way.  watchgnupg is a simple  listener
15       for  such  a  socket.   It ameliorates the output with a time stamp and
16       makes sure that long lines are not interspersed with  log  output  from
17       other utilities.  This tool is not available for Windows.
18
19
20
21       watchgnupg is commonly invoked as
22
23         watchgnupg --force ~/.gnupg/S.log
24
25

OPTIONS

27       watchgnupg understands these options:
28
29
30
31       --force
32              Delete an already existing socket file.
33
34
35
36       --tcp n
37              Instead  of  reading from a local socket, listen for connects on
38              TCP port n.
39
40
41       --verbose
42              Enable extra informational output.
43
44
45       --version
46              Print version of the program and exit.
47
48
49       --help Display a brief help page and exit.
50
51
52
53

EXAMPLES

55         $ watchgnupg --force /home/foo/.gnupg/S.log
56
57       This waits for connections on the local socket ‘/home/foo/.gnupg/S.log
58       and shows all log entries.  To make this work the option log-file needs
59       to be used with all modules which logs are to be shown.  The value  for
60       that  option  must  be  given  with  a special prefix (e.g. in the conf
61       file):
62
63         log-file socket:///home/foo/.gnupg/S.log
64
65       For debugging purposes it is also possible to do remote logging.   Take
66       care  if  you  use  this feature because the information is send in the
67       clear over the network.  Use this syntax in the conf files:
68
69         log-file tcp://192.168.1.1:4711
70
71       You may use any port  and  not  just  4711  as  shown  above;  only  IP
72       addresses  are  supported  (v4  and v6) and no host names.  You need to
73       start watchgnupg with the tcp option.  Note that under Windows the reg‐
74       istry  entry  HKCU\Software\GNU\GnuPG:DefaultLogFile  can  be  used  to
75       change the default log output from stderr to whatever is given by  that
76       entry.   However  the only useful entry is a TCP name for remote debug‐
77       ging.
78
79
80

SEE ALSO

82       gpg(1), gpgsm(1), gpg-agent(1), scdaemon(1)
83
84       The full documentation for this tool is maintained as a Texinfo manual.
85       If  GnuPG and the info program are properly installed at your site, the
86       command
87
88         info gnupg
89
90       should give you access to the complete manual including a  menu  struc‐
91       ture and an index.
92
93
94
95
96
97
98
99
100
101GnuPG 2.0.18                      2011-09-20                     WATCHGNUPG(1)
Impressum