Download Shareware and Freeware Software for Windows, Linux, Macintosh, PDA

line Home  |  About Us  |  Link To Us  |  FAQ  |  Contact

Serving Software Downloads in 976 Categories, Downloaded 31.016.813 Times

gzLogger 0.1

  Date Added: July 24, 2010  |  Visits: 658


Report Broken Link
Printer Friendly Version

Product Homepage
Download (70 downloads)

gzLogger is a simple PHP5 library that allows the user to log information to compressed flat files with an approximate size defined by the user. As the user adds data, the library compresses the data and writes it to flat files. When a file reaches a user defined size, the old log file is closed and a new one opened. gzLogger project is aimed more at PHP CLI applications then web-pages. Also, this code is alpha quality, the API could change, anything could change. How It Works: gzLogger: The gzLogger library is the compression side of the package. The gzLogger object allows you to define fine how you want the information compressed. When you intialize the object, you can define these seven settings: - File Tag (DEFAULT: gzLog) - This defines the base name of the compressed files. For example, setting file tag to "gzLogger_ex" would cause the compressed files to be named gzLogger_ex.0, gzLogger_ex.1, etc. - Log Dir (DEFAULT: ./) - The directory you would like the compressed files written to. - Compression Level - The level of compression, from 0 to 9, with 9 being the highest compression. The compression is done using the Zlib library, and the files created with this library can be unzipped using the gzip package found on Unix, Linux, and most other operating systems. - Flush Max (DEFAULT: 100) - The number of add() or log() calls before the data is written to the compressed file. This is done to reduce the number of times the disk is written to. - Max File Size (1MB) - The approximate size of the compressed file before the file is closed and a new one opened. The size of the file is checked when the Flush Max is reached and the data is compressed and written to the file. The Max File Size can be set using bytes, KB (kilobytes), MB (megabytes), and GB (gegabytes). Examples would be: "100″ - 100 bytes, "3KB" - 3 kilobytes, "40MB" - 40 megabytes. - File Suffix (DEFAULT: .gz) - The string on the end of the file name. - Force Commit (DEFAULT: FALSE) - You must set this to TRUE when your writing very small chunks of data (1KB) to the compressed file, and the Max File Size is set low (EX. 20KB). Most operating systems cache small chunks of data and wait until they have enough data to write to the file, and when the data is cached instead of written, the function that checks the file size will return and incorrect value. If you are writing large chunks of data to the file, then leave this set to FALSE. function gzLogger(File Tag, Log Dir, Compression Level, Flush Max, Max File Size, File Suffix, Force Commit) Whats New in This Release: - Initial release of the software with a basic implementation of most of the core features.. Make a website for your tiny baby for free!

Requirements: No special requirements
Platforms: Linux
Keyword: Compressed Data Default File File Size Flush Max Gzlogger Http Library Log Log Information Max File Max File Size Size
Users rating: 0/10

License: Freeware Size: 8.19 KB
Programming  -  urllib3 0.4.0
Python HTTP library with thread-safe connection pooling and file post support. * HTTPConnectionPool and HTTPSConnectionPool - Thread-safe connection pooling and re-using with HTTP/1.1 keep-alive. * filepost - File posting!...
10.24 KB  
Libraries  -  JImage-Analyst 1.0
JImage-Analyst is a JAVA based library for extracting meta information from various image file formats..
9.22 KB  
Business  -  File Data Viewer 1.0
This Software is designed to enable the user to maintain a database describing data file contents and to enable a search to be carried out on the Description File Path and Comments Fields entered by the user. This feature may be used for instance...
3.3 MB  
Misc. Web Browser Tools  -  Get File Size 2.2
Get File Size is an Internet Explorer add-on that allows you to find out the size of a file before downloading it. Get File Size does not require any special skills, just right-click the link to a file and select Get File Size, the program will...
531 KB  
Libraries  -  File::Revision 0.03
File::Revision is a Perl module to return a name of non-existing backup file with a revision id. SYNOPSIS ####### # Subroutine interface # use File::Revision qw(new_revision num2revision parse_options revision2num revision_file rotate);...
89.09 KB  
Book Collection Managers  -  Split File Tool 1.6.0
Split File Tool is a free utility that split up a large file into many small parts and then join them together to recreate the original file. These files can then be reassembled, spliced together and sent over the Internet. Split File Tool has...
2.6 MB  
Book Collection Managers  -  EaseFilter File Protector
The EaseFilter file protector can protect your files being accessed by unauthorized user. With the EaseFilter file protector you can control the file activities on file system level, capture file open, create, overwrite, read, write, query file...
3.82 MB  
Libraries  -  CAD::Drawing::IO::Compressed 0.26
CAD::Drawing::IO::Compressed is a Perl module to load and save compressed data. Requisite Plug-in Functions See CAD::Drawing::IO for a description of the plug-in architecture. check_type Returns true if $type is "compressed" or $filename...
39.94 KB  
Libraries  -  libtiff 3.8.2 / 3.9.0 Beta
libtiff library provides support for the Tag Image File Format (TIFF), a widely used format for storing image data. The latest version of the TIFF specification is available on-line in several different formats, as are a number of TIFF Technical...
1.2 MB  
Backup Utilities  -  ZIP Repair Free 1.0
ZIP Repair Free is a powerful ZIP file recovery tool which is exceptionally easy to use. ZIP Repair free has been developed as the ultimate answer to how to repair ZIP files in Vista. We have developed ZIP Repair Free for simplicity of use - it is...
1.09 MB  
Linux Software  -  Polling Autodialer Software 3.4
ICTBroadcast Auto Dialer software has a survey campaign for telephone surveys and polls. This auto dialer software automatically dials a list of numbers and asks them a set of questions that they can respond to, by using their telephone keypad....
488 B  
Linux Software  -  Total Video Converter Mac Free 3.5.5
Total Video Converter Mac Free developed by EffectMatrix Ltd is the official legal version of Total Video Converter which was a globally recognized brand since 2006. Total Video Converter Mac Free is a free but powerful all-in-one video...
17.7 MB  
Linux Software  -  Skeith mod_log_sql Analyzer 2.10beta2
Skeith is a php based front end for analyzing logs for Apache using mod_log_sql.
47.5 KB  
Linux Software  -  SLAX 6.0+
Slax is a modern, portable, small and fast Linux operating system with a modular approach and outstanding design. Despite its small size, Slax provides a wide collection of pre-installed software for daily use, including a well organized graphical...
190 KB  
Linux Software  -  GTK+ 2.5
GTK+, which stands for the GIMP Toolkit, is a library for creating graphical user interfaces for the X Window System. It is designed to be small, efficient, and flexible. GTK+ is written in C with a very object-oriented approach. Language bindings...
60 MB  
Network & Internet  -  Free WiFi Hotspot 3.3.1
Free WiFi Hotspot is a super easy solution to turn your laptop or notebook into a portable Wi-Fi hotspot, wirelessly sharing your internet connections like DSL, Cable, Bluetooth, Mobile Broadband Card, Dial-Up, etc. through the built-in wireless...
1.04 MB  
Network & Internet  -  Easy Uploads 1.8
Easy uploads is a file storage media streaming application designed by Filestreamers that allows you to upload, store, and stream your files from their virtually unlimited file storage server. Easy Uploads can backup,share, and stream your files...
615.97 KB  
Network & Internet  -  IPv6 CARE 3.2b
IPv6 CARE, "IPv6 Compliant Automatic Runtime Environment", is a Linux tool able to patch ipv6-agnostic programs on-the-fly ('patch' mode). It can also generate a diagnosis about the IPv6 compliance of an application ('check' mode).
409.6 KB  
Network & Internet  -  PacketFence ZEN 3.1.0
PacketFence is a fully supported, trusted, Free and Open Source network access control (NAC) system. Boosting an impressive feature set including a captive-portal for registration and remediation, centralized wired and wireless management, 802.1X...
1024 MB  
Network & Internet  -  django-dbstorage 1.3
A Django file storage backend for files in the database.
10.24 KB