Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

razor2::syslog(3) [suse man page]

Razor2::Syslog(3)					User Contributed Perl Documentation					 Razor2::Syslog(3)

NAME
Razor2::Syslog -- Syslog support for Razor2 SYNOPSIS
use Razor2::Syslog; my $s=new Razor2::Syslog(Facility=>'local4',Priority=>'debug'); $s->send('see this in syslog',Priority=>'info'); DESCRIPTION
This module has been derived from Net::Syslog. Some optimizations were made to Net::Syslog, in particular support for keeping a socket open. What follows is the documentation for Net::Syslog, which completely applies to this module. Net::Syslog implements the intra-host syslog forwarding protocol. It is not intended to replace the Sys::Syslog or Unix::Syslog modules, but instead to provide a method of using syslog when a local syslogd is unavailable or when you don't want to write syslog messages to the local syslog. The new call sets up default values, any of which can be overridden in the send call. Keys (listed with default values) are: Name <calling script name> Facility local5 Priority err SyslogPort 514 SyslogHost 127.0.0.1 Valid Facilities are: kern, user, mail, daemon, auth, syslog, lpr, news, uucp, cron, authpriv, ftp, local0, local1, local2, local3, local4, local5, local6 Valid Priorities are: emerg, alert, crit, err, warning, notice, info, debug AUTHOR
Les Howard, les@lesandchris.com Vipul Ved Prakash, mail@vipul.net SEE ALSO
syslog(3), Sys::Syslog(3), syslogd(8), Unix::Syslog(3), IO::Socket, perl(1) perl v5.12.1 2005-05-09 Razor2::Syslog(3)

Check Out this Related Man Page

Razor2::Syslog(3pm)					User Contributed Perl Documentation				       Razor2::Syslog(3pm)

NAME
Razor2::Syslog -- Syslog support for Razor2 SYNOPSIS
use Razor2::Syslog; my $s=new Razor2::Syslog(Facility=>'local4',Priority=>'debug'); $s->send('see this in syslog',Priority=>'info'); DESCRIPTION
This module has been derived from Net::Syslog. Some optimizations were made to Net::Syslog, in particular support for keeping a socket open. What follows is the documentation for Net::Syslog, which completely applies to this module. Net::Syslog implements the intra-host syslog forwarding protocol. It is not intended to replace the Sys::Syslog or Unix::Syslog modules, but instead to provide a method of using syslog when a local syslogd is unavailable or when you don't want to write syslog messages to the local syslog. The new call sets up default values, any of which can be overridden in the send call. Keys (listed with default values) are: Name <calling script name> Facility local5 Priority err SyslogPort 514 SyslogHost 127.0.0.1 Valid Facilities are: kern, user, mail, daemon, auth, syslog, lpr, news, uucp, cron, authpriv, ftp, local0, local1, local2, local3, local4, local5, local6 Valid Priorities are: emerg, alert, crit, err, warning, notice, info, debug AUTHOR
Les Howard, les@lesandchris.com Vipul Ved Prakash, mail@vipul.net SEE ALSO
syslog(3), Sys::Syslog(3), syslogd(8), Unix::Syslog(3), IO::Socket, perl(1) perl v5.14.2 2005-05-09 Razor2::Syslog(3pm)
Man Page

15 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

multiple instances of syslogd - is it possible?

I would like to start up multiple instances of syslog daemon. I am having a little difficulty. Is this at all possible? I have separate syslog.conf1.... syslog.conf5 files. I have linked the daemon to separate files syslogd1 ... syslogd5 I have arranged the rcd.2 start/stop scripts for... (9 Replies)
Discussion started by: Gary Dunn
9 Replies

2. Shell Programming and Scripting

Grep Syslog

Hello, I want to create a script that will grep syslog for an "expression" such as warning. I want it to repeat this script every 5 minutes and only use the last 5 minutes of the syslog in each scan . Can this be done? Thanks (6 Replies)
Discussion started by: scott1963
6 Replies

3. Solaris

syslog

Syslog is not being written too, anyone ever experince this? (13 Replies)
Discussion started by: csaunders
13 Replies

4. Shell Programming and Scripting

Processes

I have a file like this. No. State Query Times User Processed Syslog 1 ready idle 973s 0 /Application/ugsvols/bldata01/logs/imanscript1562.syslog 2 ready idle 803s 83997 13 /Application/ugsvols/bldata01/logs/imanscript1542.syslog 3 ready idle 2954s 106641... (17 Replies)
Discussion started by: Krrishv
17 Replies

5. Shell Programming and Scripting

How to send a mail with attachment?

Hi, I usually write a file TEST.MAIL like this to send mails: Importance: High Priority: Urgent X-Priority: 1 (Highest) From: user Subject: error ... text body .... and then I launch it (or writre a c-chell that launchs it) by writing: mail a@b.com < /users/.../TEST.MAIL How can... (4 Replies)
Discussion started by: albaalbetti
4 Replies

6. AIX

AIX Syslog login/logout User

Hi, i'm trying to configure /etc/syslog.conf for log user access. In debian i add: auth,authpriv.* @serverName I don't know the correct Aix syntax for syslog :( My @serverName get the log successfully.. I need to log correct/incorrect login attempts. Thanks (5 Replies)
Discussion started by: hankBuck
5 Replies

7. Solaris

Syslog - solaris 9

HI admins, I am facing an issue with syslog on solaris9. It stopped the logging of messages..I tried all ways to start the syslog--/etc/init.d/syslog start, /usr/sbin/syslogd......etc.... But ps -eaf | grep sys not showing the syslog processes.......... When i start syslog using... (13 Replies)
Discussion started by: snchaudhari2
13 Replies

8. UNIX for Dummies Questions & Answers

Syslog Message Columns

Hi all, I need your help with syslog columns. Currently I have a script as follows: (extract) for messages in `cat syslog_message_list.txt`; \ do \ grep $messages syslog.`date +%d%m%y`.log | \ tr -s " " | \ cut -d" " -f4,9- | \ sort -k3.2,3 -k2,2 -k1nr,1 | \ uniq -c | \ sort -k3.2,3... (6 Replies)
Discussion started by: wthomas
6 Replies

9. UNIX for Dummies Questions & Answers

Extracting a Time Span from Syslog Messages File

Hi all, I need your help to explain how I can extract a time span from the syslog messages file on a Solaris 10 system. Here is an example extract of the syslog messages: Dec 4 11:51:38 hajap141-0107.nls.jlrint.com 267938: Dec 4 11:51:36: %DOT11-6-DISASSOC: Interface Dot11Radio0,... (4 Replies)
Discussion started by: wthomas
4 Replies

10. Solaris

syslog is not getting written

hi all syslog is not getting written. i am getting following two logs snmpd.log & authlog logs. please tell what are two logs snmpd.log & authlog logs. why syslog is not written. (16 Replies)
Discussion started by: nikhil kasar
16 Replies

11. Solaris

Syslog formatting issue

Hi, I am using log4j syslog appender to redirect the application logs to the solaris syslog. However, I am facing issue in formatting. It is not able to interpret new line characters and is printing \n as it is. Ex: Following is getting written into the syslog file. "\n \n File =... (4 Replies)
Discussion started by: Pra
4 Replies

12. UNIX for Dummies Questions & Answers

Syslog Messages from Remote Server are not writing to Log File Anymore

Hello All, Server: SUSE Linux Enterprise Server 11.3 (x86_64) Syslog-ng Version: syslog-ng 2.0.9 We have configured a Cisco router to send it's log messages to this server listed above. This has been working just perfectly for the last couple months, but we had never setup the log... (9 Replies)
Discussion started by: mrm5102
9 Replies

13. AIX

UNIX - AIX - Syslog messages

Dear Community, I have just registered to the forum, and I am very glad I have joined. I have a question about the syslog logging facility. I am doing a security assessment for some servers that run on AIX. The admins have set up a syslog server and the following parameters are enabled in... (8 Replies)
Discussion started by: Bersecul
8 Replies

14. AIX

AIX Syslog where the hostname sit

Dear all experts, I would like to know where can I find the hostname located as when I receive the syslog, I can only see as below : (showing in localhost instead of the hostname) Feb 6 15:31:31 localhost syslog:info syslogd: restart Feb 6 15:31:50 localhost syslog:info syslogd: restart Feb... (13 Replies)
Discussion started by: kwliew999
13 Replies

15. AIX

Cannot send syslog event from AIX 6.1 to RHEL Syslog server

Hi everyone, I am trying to configure AIX 6.1 using syslogd to send syslog event to syslog server configured on RHEL. However, RHEL never receives the events. I have tried to redirect the syslog event on AIX to a local file and successful. Only forwarding to remote server fails. Firewall... (10 Replies)
Discussion started by: michael_hoang
10 Replies