Logger 08361.0419

Logger is a GPL licensed utility that can take control of system logs.
Logger is a GPL licensed utility that can take control of system logs.
Setting up Logger is as follows:

Be sure to check the COMPILE script and modify the CPU variable as needed. Below is the Compilation script used to build Logger (included in the download):

#!/bin/bash
clear

# Modify for your CPU using GCC switches

export CPU="-march=i686 -mtune=i686"

# Required defines

export DEF="-D_USE_LARGEFILE64 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE"
export SRC="-D_REENTRANT -D_BSD_SOURCE -D_SVID_SOURCE"

# Required Libraries

# Required compilier options

export OPT="-w -O3 -funroll-loops -ffast-math -fomit-frame-pointer -fno-exceptions"

# Get down to business and compile it out.

gcc -o Logger Logger.c $DEF $CPU $SRC $OPT
strip Logger

After adjusting the CPU parameters to match your hardware and selecting the compile options, simply type:

./COMPILE

If all went well, the prompt will return and no errors will be displayed.

For easy administration, I recommend coping the Logger executable into your /sbin folder:

cp Logger /sbin/

Main features:

  • Ability to handle logs over 2 gigs.
  • Automatic nightly log rotation without effecting any services dependent on it.
  • Perforamce increase in software logging to Logger. High log usage software like Apache, Exim, and Squid show dramatic improvement.
  • Any application that writes a log can be maintained be Logger (including syslogd).
  • Light, small, and fast.
  • Emphasizes security.
  • Reduces drive usage through memory queueing. On my system, my log drive temperature dropped from 125 deg. (F) to 95 deg (F). This also makes available the option of spinning down the hard drive to conserve power (a must for laptops).

last updated on:
December 27th, 2008, 10:58 GMT
price:
FREE!
developed by:
Robert Aloysius Peter Matthias Darin
license type:
GPL (GNU General Public License) 
category:
ROOT \ System \ Logging

FREE!

In a hurry? Add it to your Download Basket!

user rating 30

UNRATED
2.9/5
 

0/5

What's New in This Release:
  • A permissions bug when creating the named pipes was fixed.
read full changelog

Add your review!

SUBMIT