⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.133
Server IP:
185.119.109.197
Server:
Linux managedhosting.chostar.me 5.15.0-160-generic #170-Ubuntu SMP Wed Oct 1 10:06:56 UTC 2025 x86_64
Server Software:
Apache
PHP Version:
8.1.33
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
proc
/
self
/
root
/
usr
/
share
/
ri
/
3.0.0
/
system
/
Syslog
/
Edit File: open-c.ri
U:RDoc::AnyMethod[iI" open:ETI"Syslog::open;TT:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I"Open the syslog facility. ;TI"6Raises a runtime exception if it is already open.;To:RDoc::Markup::BlankLine o; ; [I"MCan be called with or without a code block. If called with a block, the ;TI"2Syslog object created is passed to the block.;T@o; ; [I":If the syslog is already open, raises a RuntimeError.;T@o; ; [I">+ident+ is a String which identifies the calling program.;T@o; ; [I"9+options+ is the logical OR of any of the following:;T@o:RDoc::Markup::List: @type: NOTE:@items[o:RDoc::Markup::ListItem:@label[I" LOG_CONS;T; [o; ; [I">If there is an error while sending to the system logger, ;TI"+write directly to the console instead.;T@o;;[I"LOG_NDELAY;T; [o; ; [I"@Open the connection now, rather than waiting for the first ;TI"message to be written.;T@o;;[I"LOG_NOWAIT;T; [o; ; [I">Don't wait for any child processes created while logging ;TI"(messages. (Has no effect on Linux.);T@o;;[I"LOG_ODELAY;T; [o; ; [I"AOpposite of LOG_NDELAY; wait until a message is sent before ;TI"3opening the connection. (This is the default.);T@o;;[I"LOG_PERROR;T; [o; ; [I"BPrint the message to stderr as well as sending it to syslog. ;TI"(Not in POSIX.1-2001.);T@o;;[I"LOG_PID;T; [o; ; [I"6Include the current process ID with each message.;T@o; ; [I"I+facility+ describes the type of program opening the syslog, and is ;TI"Nthe logical OR of any of the following which are defined for the host OS:;T@o;; ;;[o;;[I" LOG_AUTH;T; [o; ; [I"=Security or authorization. Deprecated, use LOG_AUTHPRIV ;TI" instead.;T@o;;[I"LOG_AUTHPRIV;T; [o; ; [I"=Security or authorization messages which should be kept ;TI" private.;T@o;;[I"LOG_CONSOLE;T; [o; ; [I"System console message.;T@o;;[I" LOG_CRON;T; [o; ; [I"(System task scheduler (cron or at).;T@o;;[I"LOG_DAEMON;T; [o; ; [I"<A system daemon which has no facility value of its own.;T@o;;[I"LOG_FTP;T; [o; ; [I"An FTP server.;T@o;;[I" LOG_KERN;T; [o; ; [I"AA kernel message (not sendable by user processes, so not of ;TI"9much use to Ruby, but listed here for completeness).;T@o;;[I"LOG_LPR;T; [o; ; [I"Line printer subsystem.;T@o;;[I" LOG_MAIL;T; [o; ; [I"*Mail delivery or transport subsystem.;T@o;;[I" LOG_NEWS;T; [o; ; [I"Usenet news system.;T@o;;[I"LOG_NTP;T; [o; ; [I""Network Time Protocol server.;T@o;;[I"LOG_SECURITY;T; [o; ; [I"General security message.;T@o;;[I"LOG_SYSLOG;T; [o; ; [I"-Messages generated internally by syslog.;T@o;;[I" LOG_USER;T; [o; ; [I" Generic user-level message.;T@o;;[I" LOG_UUCP;T; [o; ; [I"UUCP subsystem.;T@o;;[I"LOG_LOCAL0 to LOG_LOCAL7;T; [o; ; [I" Locally-defined facilities.;T@o; ; [I" Example:;T@o:RDoc::Markup::Verbatim; [I"-Syslog.open("webrick", Syslog::LOG_PID, ;TI"9 Syslog::LOG_DAEMON | Syslog::LOG_LOCAL3);T:@format0: @fileI"ext/syslog/syslog.c;T:0@omit_headings_from_table_of_contents_below0I".open(ident, options, facility) => syslog ;TI"syslog;T[ I" (p1 = v1, p2 = v2, p3 = v3);T@�FI"Syslog;TcRDoc::NormalModule00
Simpan