LOGGER

Section: User Commands (1)
Index
Return to Main Contents

BSD mandoc
BSD 4.3  

NAME

logger - system log ±â·Ï  

SYNOPSIS

logger [-is ] [-f file ] [-p pri ] [-t tag ] [message ... ]  

DESCRIPTION

Logger ¸í·ÉÀº ½Ã½ºÅÛ ±â·Ï ¸ðµâÀÎ syslog(3) ÇÔ¼ö¸¦ ½© ¸í·ÉÀ¸·Î ±¸ÇöÇÑ °ÍÀÌ´Ù.

Options:

-i
¸Å ÁÙ¸¶´Ù loggerÀÇ ÇÁ·Î¼¼½º ID¸¦ ±â·ÏÇÑ´Ù.
-s
system log¿Í °°ÀÌ ¸Þ½ÃÁö¸¦ Ç¥ÁØ ¿À·ù ÀåÄ¡¿¡ ±â·ÏÇÑ´Ù.
-f file
±â·Ï ÆÄÀÏ ÁöÁ¤
-p pri
¿ì¼±±ÇÀÌ ÀÖ´Â ¸Þ½ÃÁö¸¦ ÁöÁ¤ÇÑ´Ù. pri¿¡´Â ¼ýÀÚÇü½ÄÀ¸·Î ¿À°Å³ª, ``facility.level'' ½ÄÀ¸·Îµµ ¿Ã ¼ö ÀÖ´Ù. ¿¹¸¦ µé¾î, ``-p local3.info'' ¿É¼ÇÀº local3 focility¿¡¼­ info rmational ¼öÁØÀ¸·Î ¸Þ½ÃÁö°¡ ±â·ÏµÈ´Ù. ÃʱⰪÀº ``user.notice.''
-t tag
tag ¸¦ ¸Å ÁÙ¸¶´Ù ±â·Ï
message
message¸¦ ±â·ÏÇÑ´Ù. ¸¸¾à ÀÌ°ÍÀÌ ÁöÁ¤µÇÁö ¾Ê°í, -f ¿É¼ÇÀ» »ç¿ëÇÏÁö ¾ÊÀ¸¸é, Ç¥ÁØ ÀԷ¿¡¼­ ±â·ÏÇÒ ³»¿ëÀ» ÀԷ¹޴´Ù.

The logger Ç®±×¸²Àº ¿À·ù ¾øÀÌ ³¡³ª¸é 0, ¿À·ù°¡ ÀÖÀ¸¸é, 0º¸´Ù Å« ¼ö¸¦ ¸®ÅÏÇÑ´Ù.  

EXAMPLES

logger System rebooted

logger -p local0.notice -t HOSTIDM -f /dev/idmc
 

SEE ALSO

syslog(3), syslogd(8)  

STANDARDS

logger ¸í·ÉÀº St -p1003.2 ½Ã½ºÅÛ°ú ȣȯµÇ°íÀÚ ÇÑ´Ù.


 

Index

NAME
SYNOPSIS
DESCRIPTION
EXAMPLES
SEE ALSO
STANDARDS

This document was created by man2html, using the manual pages.
Time: 08:06:58 GMT, March 25, 2004