[ts-gen] Do I really need to tail -f ShimText?
paulq2o0 at yahoo.co.uk
Tue Sep 15 07:47:30 EDT 2009
Some additional comment regarding 'logd', from an off-list message that probably I should
I was asked:
> ... what is the "logd" option used for?
Hi. the "logd" option produces shim output via the systems message
logging facility (rsyslogd on debian, i.e. the log files in the /var/log
directory). /etc/rsyslog.conf determines which log file(s) the output
ends up in. The shim uses 'local0' and rsyslog entries like:
sends the output to a file and a named pipe respectively. It's the
same format data as the ShimText file, except each line starts with
some date/time/machine info.
I find it useful to tail -f local0.log so I can see what is going on,
irrespective of what the downstream program is doing with the stdout
Note, multiple shim processes write to the same log file. [as does my
netgear router, so I actually change LOCAL0 to LOCAL1 in src/data.c ]
There may be a better explanation somewhere in the archives or
documentation. I don't know about the intended use of the various
shim output options, or what others use "logd" for.
 It was syslog.conf until recently. not sure about other systems.
 btw, That's the only change I ever make to the shim sources.
More information about the ts-general