GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  SYSLOG (n)

NAME

syslog - send message to syslog from Tcl script

CONTENTS

Synopsis
Description
Keywords

SYNOPSIS

package require Syslog

syslog ?options? priority message


   








\L’|0u-1v’\l’75u+3n_’\L’0u+1v-0u’\l’|0u-1.5n_’



\L’|0u-1v’\L’0u+1v-0u’\l’|0u-1.5n_’





DESCRIPTION

This command sends message to system syslog facility with given priority. Valid priorities are:

emerg, alert, crit, err, error, warning, notice, info, debug.

By default, facility user is used and value of tcl variable argv0 is used as ident string. However, any of the following options may be specified before priority to control these parameters:
-facility value Use specified facility instead of user. Following facility are recognized:

authpriv, cron, daemon, kernel, lpr, mail, news, syslog, user, uucp, local0, local1, local2.

-ident string Use given string instead of argv0 variable for ident string.
-options list Set syslog options such as LOG_CONS, LOG_NDELAY List should contain one or more strings CONS, NDELAY, ODELAY, PERROR, PID, NOWAIT

Options NDELAY and ODELAY are effectively no-op, becouse openlog(3) call is only performed upon first message send.

Numeric value of options can be specified instead of list for compatibility with older versions. Mixing of numeric and string constants are not allowed.

If any options are specified, priority and message arguments can be omitted. In this case syslog command only sets logging parameters which would be used for subsequent calls.

KEYWORDS

logging, syslog
Search for    or go to Top of page |  Section n |  Main Index


Tcl SYSLOG (n) 2.0

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.