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 29.985.009 Times

Unix::Syslog 1.1

Company: Marcus Harnisch
Date Added: August 26, 2013  |  Visits: 283

Unix::Syslog

Report Broken Link
Printer Friendly Version


Product Homepage
Download (16 downloads)

Unix::Syslog is a Perl module that provides an interface to the system logger syslogd(8) via Perl's XSUBs. The implementation attempts to resemble the native libc-functions of your system, so that anyone being familiar with syslog.h should be able to use this module right away.<br /><br />In contrary to Sys::Syslog(3), this modules does not open a network connection to send the messages. This can help you to avoid opening security holes in your computer (see "FAQ").<br /><br />The subs imported by the tag macros are simply wrappers around the most important #defines in your system's C header file syslog.h. The macros return integer values that are used to specify options, facilities and priorities in a more or less portable way. They also provide general information about your local syslog mechanism. Check syslog(3) and your local syslog.h for information about the macros, options and facilities available on your system.<br /><br />The following functions are provided:<br /><br />openlog $ident, $option, $facility<br /><br /> opens a connection to the system logger. $ident is an identifier string that syslogd(8) prints into every message. It usually equals the process name. $option is an integer value that is the result of ORed options. $facility is an integer value that specifies the part of the system the message should be associated with (e.g. kernel message, mail subsystem).<br /><br />syslog $priority, $format, @formatargs<br /><br /> Generates a log message and passes it to the system logger. If syslog() is called without calling openlog() first, probably system dependent default values will be used as arguments for an implicit call to openlog().<br /><br /> $priority is an integer value that specifies the priority of the message. Alternatively $priority can be the ORed value of a priority and a facility. In that case a previously selected facility will be overridden.<br /><br /> In the case that syslog() is called without calling openlog() first and priority does not specify both a priority and a facility, a default facility will be used. This behaviour is most likely system dependent and the user should not rely on any particular value in that case.<br /><br /> $format is a format string in the style of printf(3). Additionally to the usual printf directives %m can be specified in the string. It will be replaced implicitly by the contents of the Perl variable $! ($ERRNO). @formatargs is a list of values that the format directives will be replaced with subsequently.<br /><br />closelog<br /><br /> closes the connection to the system logger.<br /><br />setlogmask $mask_priority<br /><br /> sets the priority mask and returns the old mask. Logging is enabled for the priorities indicated by the bits in the mask that are set and is disabled where the bits are not set. Macros are provided to specify valid and portable arguments to setlogmask(). Usually the default log mask allows all messages to be logged.<br /><br />priorityname $priority<br /><br /> returns a string containing the name of $priority as string. If this functionality has not been enabled at installation, the function returns undef.<br /><br />facilityname $facility<br /><br /> returns a string containing the name of $facility as string. If this functionality has not been enabled at installation, the function returns undef.<br /><br />SYNOPSIS<br /><br /> use Unix::Syslog qw(:macros); # Syslog macros<br /> use Unix::Syslog qw(:subs); # Syslog functions<br /><br /> openlog $ident, $option, $facility;<br /> syslog $priority, $format, @formatargs;<br /> closelog;<br /> $oldmask = setlogmask $mask_priority;

Requirements: No special requirements
Platforms: *nix, Linux
Keyword: Connection Default Enabled Facility Format Formatargs Integer Macros Message Openlog Option Options Priority Returns String Syslog System Unix Unix Syslog Unixsyslog
Users rating: 0/10

License: Freeware Size: 10.24 KB
UNIX::SYSLOG RELATED
Modules  -  Followers Count 1.0
Returns a database stored Twitter Followers Count in plain text or number format. Reduces the Twitter API calls by only updating the followers count hourly and serving a database cached result in between.You can use the function in your theme...
10 KB  
Database Tools  -  SQL Relay 0.39
SQL Relay is a persistent database connection pooling, proxying and load balancing system for Unix and Linux..
8.6 MB  
Business  -  MySAR 2.1.4
MySAR is a Perl script that collects information from a MySQL running server and stores it in a DB so it can later be queried and manipulated by other tools. Currently is capable of storing the results of SHOW GLOBAL STATUS and SHOW GLOBAL...
245.76 KB  
Libraries  -  Wiki::Toolkit::Formatter::Default 0.74
Wiki::Toolkit::Formatter::Default is a formatter for Wiki::Toolkit. SYNOPSIS my $store = Wiki::Toolkit::Store::SQLite->new( ... ); # See below for parameter details. my $formatter = Wiki::Toolkit::Formatter::Default->new( %config ); my...
102.4 KB  
Networking  -  Atom Default Feed 1.1
The default feed in WordPress is normally RSS. However, many companies, including Google, have thrown more support behind the Atom syndication format. Atom is better designed, more robust, well-defined, and supports publish capabilities as...
10 KB  
Libraries  -  DateTime::Format::Pg 0.15
DateTime::Format::Pg is a Perl module to parse and format PostgreSQL dates and times. SYNOPSIS use DateTime::Format::Pg; my $dt = DateTime::Format::Pg->parse_datetime( 2003-01-16 23:12:01 ); # 2003-01-16T23:12:01+0200...
19.46 KB  
Multimedia Integration Tools  -  3-launchpad 0.82
The first cloud enabled music player . 3-launchpad Features: # Can be default mp3 player # Theme engine (and library) # Linux/Mac/Windows/Android # Cloud access: dropbox; google docs
10.24 KB  
Web Browsers  -  QuoteAndComposeManager 0.3.25
This extension for Thunderbird gives you the following options about compose window and the headers layout in reply and forwarded mails: 1) inserts real borders in reply mails (just in HTML mails). Note that the standard blue borders...
40.96 KB  
Programming  -  zope.fssync 3.5.2
This package provides filesystem synchronization utilities for Zope 3. It is used by the zope.app.fssync package. Filesystem Synchronization This package provides an API for the synchronization of Python objects with a serialized...
71.68 KB  
Programming  -  hexdump 1.6
hexdump produces a CP/M-like format by default, and can handle EBCDIC. It is internationalized, and has many formatting functions. This hex dumper was born because a) od octal format is appallingly ugly b) od -x aint much better c) I needed...
16.38 KB  
NEW DOWNLOADS IN LINUX SOFTWARE, PROGRAMMING
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  
Programming  -  FLEX-db Digital Asset Manager 3.0.9
FLEX-db - an enterprise Digital Asset Manager (DAM). It ingests and links metadata with files, creates thumbnails, and processes files using business rules. FLEX-db has a JSP client, Java app server for file input and output and an EJB metadata...
21.57 MB  
Programming  -  Libicom 0.9.0
The libicom library is a character based dynamicly linked library for Linux. It is used to remotely control the Icom IC-R8500 wide band receiver via an RS232 link. All call and return parameters to the control functions are character string based....
20.48 KB  
Programming  -  dotdesktop 0.3
Dotdesktop library provides ability to parse desktop entry file and access the information in a convenient way. Desktop entry file format is defined by freedesktop.org, it is used to describe information about an application such as the name and...
327.68 KB  
Programming  -  Cedalion for Linux 0.2.6
Cedalion is a programming language that allows its users to add new abstractions and define (and use) internal DSLs. Its innovation is in the fact that it uses projectional editing to allow the new abstractions to have no syntactic limitations.
471.04 KB  
Programming  -  libyasl 0.2
Libyasl is a C++ class library to easily realize TCP/UDP/Multicast clientsand servers in IPv4 and IPv6 environments under GNU/Linux systems.
143.36 KB