+ Logging, Syslog and Log Anaylsys Forums » Forums » Syslog & syslogd
|-+ 

How to disable logs from THTTPD thrue syslogd

Username:
Password:
News:

Pages: [1]
0 Members and 1 Guest are viewing this topic. Topic Tools  
Read September 05, 2008, 10:07:56 am #0
ToLi

How to disable logs from THTTPD thrue syslogd

I have a uclinux system (petalogix) inbedded in a microblaze solution. We have a stability problem using the web server thttpd. I noticed that there where alot of logging thrue syslog every time we used the web server to get data from our application.

I turned off the syslog module with make menuconfig and everything worked fine. We use syslog in Busybox so the etc/syslog.conf is ignored. I don't know how to diable the logging in syslogd from the thttpd module, if syslog.conf was in use it's simple but how do I do with this system busybox/sysklogd ?
Offline  
Read September 06, 2008, 09:32:06 am #1
mutex

Re: How to disable logs from THTTPD thrue syslogd

Is the problem with syslogd using too many resources, or thttpd using too many resources while logging?
Offline  
Read September 06, 2008, 09:40:30 am #2
ToLi

Re: How to disable logs from THTTPD thrue syslogd

I guess it's that thttpd is using too many resources while logging. I tried to use rotating log files for syslog yesterday in case the log file was getting to big. But the same problem occured so the only thing left to test is to disable the logs from thttpd to syslog, and the easiest way is probably to turn off loggs from thttpd in syslog?
Offline  
Read September 10, 2008, 02:01:39 am #3
ToLi

Re: How to disable logs from THTTPD thrue syslogd

I have found a solution, it was simple when you know where to look. In Petalogix/comon/rc there was a script httpd where I could add the line ls -l /dev/null as decribed in man for thttpd. That line  disables all logs from thttpd.
Offline  
Pages: [1]
Jump to:  


Information Security News | Jerry Bell's blog | Enterprise IT | Tropical Fish Information | Tropical Fish Forums