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

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

Serving Software Downloads in 956 Categories, Downloaded 50.478.071 Times

Unix::Syslog 1.1

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

Unix::Syslog

Report Broken Link
Printer Friendly Version


Product Homepage
Download (36 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  
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  
Libraries  -  Data::SecsPack 0.06
Data::SecsPack is a Perl module pack and unpack numbers in accordance with SEMI E5-94. SYNOPSIS ##### # Subroutine interface # use Data::SecsPack qw(bytes2int config float2binary ifloat2binary int2bytes pack_float pack_int pack_num...
102.4 KB  
Registry Tools  -  ScreenMat 1.0
ScreenMat... This application allows users to change the default format that screen shots are saved in. ScreenMat allows you to change your default screen shot format to PDF, PNG, JPG or GIF.
 
NEW DOWNLOADS IN LINUX SOFTWARE, PROGRAMMING
Linux Software  -  EasyEDA PCB Designer for Linux 2.0.0
EasyEDA, a great web based EDA(Electronics Design Automation) tool, online PCB tool, online PCB software for electronics engineers, educators, students, makers and enthusiasts. Theres no need to install any software. Just open EasyEDA in any...
34.4 MB  
Linux Software  -  wpCache® WordPress HTTP Cache 1.9
wpCache® is a high-performance, distributed object, caching system application, generic in nature, but intended for use in speeding up dynamic web applications, by decreasing database load time. wpCache® decreases dramatically the page...
3.51 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  
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  -  Math::GMPf 0.29
Math::GMPf - perl interface to the GMP library's floating point (mpf) functions.
30.72 KB  
Programming  -  Net::Wire10 1.08
Net::Wire10 is a Pure Perl connector that talks to Sphinx, MySQL and Drizzle servers. Net::Wire10 implements the low-level network protocol, alias the MySQL wire protocol version 10, necessary for talking to one of the aforementioned...
30.72 KB  
Programming  -  logilab-common 0.56.2
a bunch of modules providing low level functionnalities shared among some python projects devel Please note that some of the modules have some extra dependencies. For instance, logilab.common.db will require a db-api 2.0 compliant...
174.08 KB  
Programming  -  OpenSSL for linux 1.0.0a
The OpenSSL Project is a collaborative effort to develop a robust, commercial-grade, full-featured, and Open Source toolkit implementing the Secure Sockets Layer (SSL v2/v3) and Transport Layer Security (TLS v1) protocols as well as a...
3.83 MB