Logging, Syslog and Log Anaylsys Forums
July 03, 2009, 09:36:38 pm *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News:
 
   Home   WIKI BLOG Help Search Recent Topics GoogleTagged Login Register  
Pages: [1]
  Print  
Author Topic: How to disable logs from THTTPD thrue syslogd  (Read 1719 times)
ToLi
Newbie
*
Offline Offline

Posts: 3


View Profile
« on: September 05, 2008, 10:07:56 am »

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 ?
Logged
mutex
Administrator
Newbie
*****
Offline Offline

Posts: 891


View Profile
« Reply #1 on: September 06, 2008, 09:32:06 am »

Is the problem with syslogd using too many resources, or thttpd using too many resources while logging?
Logged
ToLi
Newbie
*
Offline Offline

Posts: 3


View Profile
« Reply #2 on: September 06, 2008, 09:40:30 am »

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?
Logged
ToLi
Newbie
*
Offline Offline

Posts: 3


View Profile
« Reply #3 on: September 10, 2008, 02:01:39 am »

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.
Logged
Pages: [1]
  Print  

 
Jump to:  

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

Powered by MySQL Powered by PHP Powered by SMF 1.1.9 | SMF © 2006-2009, Simple Machines LLC | Sitemap Valid XHTML 1.0! Valid CSS!