Type:
Module

The syslog package provides a Ruby interface to the POSIX system logging facility.

Syslog messages are typically passed to a central logging daemon. The daemon may filter them; route them into different files (usually found under /var/log); place them in SQL databases; forward them to centralized logging servers via TCP or UDP; or even alert the system administrator via email, pager or text message.

Unlike application-level logging via Logger or Log4r, syslog is designed to allow secure tamper-proof logging.

The syslog protocol is standardized in RFC 5424.

open!
  • References/Ruby on Rails/Ruby/Classes/Syslog

reopen(ident, options, facility) => syslog Class Public methods Closes and

2025-01-10 15:47:30
error
  • References/Ruby on Rails/Ruby/Classes/Syslog/Syslog::Logger

error Instance Public methods Logs a message at the error (syslog

2025-01-10 15:47:30
add
  • References/Ruby on Rails/Ruby/Classes/Syslog/Syslog::Logger

add(severity, message = nil, progname = nil, &block) Instance Public methods Almost

2025-01-10 15:47:30
options
  • References/Ruby on Rails/Ruby/Classes/Syslog

options() Class Public methods Returns the options bitmask used in the last

2025-01-10 15:47:30
LOG_UPTO
  • References/Ruby on Rails/Ruby/Classes/Syslog/Syslog::Macros

LOG_UPTO(priority_level) => priority_mask Instance Public methods Generates

2025-01-10 15:47:30
included
  • References/Ruby on Rails/Ruby/Classes/Syslog/Syslog::Constants

included(p1) Class Public methods

2025-01-10 15:47:30
mask=
  • References/Ruby on Rails/Ruby/Classes/Syslog

mask=(priority_mask) Class Public methods Sets the log priority mask. A method

2025-01-10 15:47:30
syslog=
  • References/Ruby on Rails/Ruby/Classes/Syslog/Syslog::Logger

syslog=(syslog) Class Public methods Specifies the internal

2025-01-10 15:47:30
warn
  • References/Ruby on Rails/Ruby/Classes/Syslog/Syslog::Logger

warn Instance Public methods Logs a message at the warn (syslog

2025-01-10 15:47:30
LOG_MASK
  • References/Ruby on Rails/Ruby/Classes/Syslog/Syslog::Macros

LOG_MASK(priority_level) => priority_mask Instance Public methods Generates

2025-01-10 15:47:30