This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Turn off/Slow down logging?

Is it possible to turn off or slow down the ASL logging?  My ASL setup uses a rather loud harddrive and it writes to the hdd every 3.5 seconds, regardless of traffic flowing through the router.  No proxy's are setup and its basically running as a simple NAT router with 2 filters.  

Why does it need to write to the harddrive every couple of seconds?  Is there a way to disable logging, thus making the router much quieter?  

Would more ram decrease the amount of hdd activity?  ASL is currently running on a P200 with 64MB ram and is a firewall for 4 computers.  


This thread was automatically locked due to age.
Parents
  • you could delete the chain LOG_CHAIN after each boot.

    then tere will be no more logging at all without affecting operation... 
  • Would there be a way to automatically set this so it wouldn't need to be updated every time ASL is rebooted?  Thanks for the idea.  
  • You would hook it into a script in /sbin/init.d; Search on some posts to come to an understanding of this.

    There are 'levels' of system startup; the script to do the deleting could be put into /sbin/init.d, then a symbolic link (using ln) is made in the appropriate level directory. Usually rc3 (?) is where things are done after the base disk drivers and whatnot have been loaded by previous levels. The links are executed in lexical collating order, so an artifice introduced in Linux to insure that they are processed in desired sequence is to use an appropriate numeric prefix.

    OR: find a script in these directories related to logging and add a call to your log deleting script. The hazard of doing it this way is an Astaro (logging) patch is more likely to knock your fix out.

    Good Hunting!

    P.S. Advanced Bash Scripting Guide
        
  •  Thanks for the great info.  I now have something to work on for the next couple of days [;)]  
Reply Children
No Data