Hi Neil,
Happy Holidays & all..
Neil Kohl wrote:
> As the documentation for logging says, you have to check your syslogd (system log
>daemon) configuration (usually /etc/syslog.conf, may vary depending on your system).
>This will tell you where the system logs are located and whether htdig's messages
>will be logged. Many syslogd default configurations ignore low-priority "info"
>messages.
It's running using a fairly standard RedHat install as best as I can
figure.. I've attached the relevant parts of /etc/syslog.conf below:
# htsearch - uses LOG_LOCAL5 facility, LOG_INFO level
local5.info /usr/local/DEV/WLPLOGS/htsearch_log
# Log anything (except mail) of level info or higher.
# Don't log private authentication messages!
*.info;mail.none;authpriv.none
/var/log/messages
# Save boot messages also to boot.log
local7.*
/var/log/boot.log
*.=debug;kern.none;local7.none /var/log/debug
*.=info;kern.none;local7.none /var/log/info
Now htdig queries are being logged in:
/var/log/messages
/var/log/info
But as yet nothing is being written here (this is where the apache logs
are stored at the moment):
/usr/local/DEV/WLPLOGS/htsearch_log
> You can configure your syslogd to write separate logs for htdig. On a Solaris 8
>system the appropriate lines in syslogd.conf look like this:
> # htsearch - uses LOG_LOCAL5 facility, LOG_INFO level
> local5.info /var/adm/apache/log/htsearch_log
This was helpful, but I'm not sure why this isn't writing to the
location I specified...
> Plus you'll need a cron job that rotates the logfiles every once in a while.
Adding a crontab is easy enough to do.. I just am not sure how to get
it to rotate the logs..
> If you're not an administrator on your htdig machine or if this is all Greek to you,
>contact your sysadmin.
Not greek.. But not as familiar as I'd like..
The sysadmins are on vacation at this point.. :)
Mike
ps. I've got the header/footer question sorted out now.. I'm not sure
why it wasn't coming up when I was looking at this issue initially..
Mike
> Neil Kohl
> Manager, ACP-ASIM Online
> American College of Physicians - American Society of Internal Medicine
> [EMAIL PROTECTED] 215.351.2638, 800.523.1546 x2638
>
>
>
>>>>Mike Gifford <[EMAIL PROTECTED]> 12/27/01 12:38PM >>>
>>>>
> Hi Geoff,
>
> Thanks for your quick response.
>
> Geoff Hutchison wrote:
>
>
>>On Thu, 27 Dec 2001, Mike Gifford wrote:
>>
>>>Using htdig, is there any way to get a history of the search terms which
>>>have been requested? It would be useful to know what folks are looking for.
>>>
>>See <http://www.htdig.org/attrs.html#logging>
>>
>
>
> I inserted this
>
> logging: true
>
>
> In the config file:
> /etc/htdig.conf
>
> then ran rundig, but I couldn't figure out where the syslog was. I
> assumed that I could either cat through the log or tail to watch their
> progress, but I couldn't find the file where htdig would be storing the
> data now that I've adjusted the config file...
>
> I was also trying to modify the look of htdig to fit the rest of the
> site. I've modified the header.html & footer html files here
> /usr/share/htdig/
> which is where the original files were.
>
> However that doesn't seem to be working, I also tried to customize the
> common_dir as it was referenced lots of places in the manual, but not
> actually defined. I put the following:
>
> common_dir: /usr/share/htdig/
>
> in the config file as well:
> /etc/htdig.conf
>
> The main references to header.html & footer.html are in:
> /var/www/html/manual/
>
> which doesn't seem that helpful.
>
> In anycase, thanks again for your support with this.
>
> Mike
>
> ps. the htdig search engine on sourceforge isn't working.
>
> http://www.htdig.org/cgi-bin/htsearch?words=asddf&method=and&config=htdig
>
> internal server error...
>
--
Mike Gifford, OpenConcept Consulting, http://www.openconcept.ca
Supporting progressive organizations in online campaigns and tools.
Feature: Women's Learning Partnership http://learningpartnership.org
Truth is that which confirms what we already believe. Northrop Frye
_______________________________________________
htdig-general mailing list <[EMAIL PROTECTED]>
To unsubscribe, send a message to <[EMAIL PROTECTED]> with a
subject of unsubscribe
FAQ: http://htdig.sourceforge.net/FAQ.html