[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Lynx-dev] Re: session???syslog?!
From: |
Thomas Dickey |
Subject: |
Re: [Lynx-dev] Re: session???syslog?! |
Date: |
Sun, 14 Nov 2010 06:22:40 -0500 (EST) |
On Sun, 14 Nov 2010, Elimar Riesebieter wrote:
* Thorsten Glaser [101110 16:35 +0000]:
FWIW, we got it.
16:09???<thkoehler:#grml> ~> which lynx
16:09???<thkoehler:#grml> lynx: aliased to noglob command lynx -cfg=~/.lynxrc
16:09???<thkoehler:#grml> when I run "command lynx", it doesn't log to syslog
16:09???<lynx:#grml> ah
16:09???<lynx:#grml> so, the -cfg= seems to override /etc/**/lynx.cfg
16:09???<thkoehler:#grml> yes
16:10???<thkoehler:#grml> but the .lynxrc doesn't contain anything about syslog
logging
16:10???<thkoehler:#grml> so the default seems to be "log to syslog"
16:11???<thkoehler:#grml> adding "SYSLOG_REQUESTED_URLS:FALSE" to ~/.lynxrc
fixed it now
Tom, you might want to change the default???
It is the default in the Debian version enabled in 2.8.6-5
at Mon, 18 Oct 2004. AFAIK grml uses the Debian package.
$ ./configure --help | grep sysl
--enable-syslog log URL requests via syslog
I switched it off in $HOME/.lynx/lynx.cfg via
SYSLOG_REQUESTED_URLS:FALSE
Debian's package (lynx-cur) turns it off:
/etc/lynx-cur/lynx.cfg
.h2 SYSLOG_REQUESTED_URLS
# Log the requested URLs using the syslog interface.
SYSLOG_REQUESTED_URLS:FALSE
Looks like I didn't update the comment in lynx.cfg, but in the source
code:
src/LYGlobalDefs.h:251: extern BOOLEAN syslog_requested_urls;
src/LYMain.c:102:BOOLEAN syslog_requested_urls = FALSE;
^^^^^
src/LYMain.c:3856: "syslog-urls", 4|SET_ARG, syslog_requeste>
src/LYrcFile.h:229:#define RC_SYSLOG_REQUESTED_URLS "syslog_requested_ur>
src/LYReadCFG.c:1593: PARSE_SET(RC_SYSLOG_REQUESTED_URLS, syslog_requested_>
src/LYUtils.c:7777: if (syslog_requested_urls) {
src/LYUtils.c:7816: if (syslog_requested_urls) {
src/LYUtils.c:7846: if (syslog_requested_urls) {
--
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net
- Re: [Lynx-dev] Re: session→syslog?!, (continued)
Re: [Lynx-dev] Re: session???syslog?!, Elimar Riesebieter, 2010/11/14
Re: [Lynx-dev] Re: session???syslog?!,
Thomas Dickey <=
Re: [Lynx-dev] session→syslog?!, Thomas Dickey, 2010/11/10