RubyGems Navigation menu

logtwuncator 0.1.1

It comes with a windows service to install and leave running to monitor the directories you specify in the config file. The config file allows the specification of many directories to monitor for log file age and size. File age is monitored by using the file creation date. In *nix programs like logrotate the log file can be moved and recreated using POSIX signalling to restart the process, and hence starting with a new file and creation date. On windows this is not possible without getting really intimate with the running process, so to get around it this program uses win32 API call to change the created date after arching and truncating the file, leaving it in plave. This seems to work fine with Rails and Apache but may cause problems depending on how the running application has opened the log file to append to it. Please report any problems/suggestions you have. Credits:

Gemfile:
= In die Zwischenablage kopieren Kopiert!

installieren:
=

Versionen:

  1. 0.1.6 - January 03, 2012 (12,5 KB)
  2. 0.1.5 - January 03, 2012 (12,5 KB)
  3. 0.1.4 - December 28, 2011 (12,5 KB)
  4. 0.1.3 - December 28, 2011 (12,5 KB)
  5. 0.1.2 - January 16, 2008* (13 KB)
  6. 0.1.1 - October 23, 2007* (13 KB)
Zeige alle Versionen (7 total)

Runtime Abhängigkeiten (2):

hoe >= 1.3.0
win32-service >= 0.5.2

Besitzer:

Autoren:

  • Adam Meehan

SHA 256-Prüfsumme:

112909c92d96ec7e0cb96020cda85e966e95f68f78c9544d734af75fc11357b0

Downloads insgesamt 27.110

Für diese Version 3.986

Lizenzen:

k.A.

Erforderliche Ruby-Version: > 0.0.0

Links: