Reader small image

You're reading from  Monitoring Hadoop

Product typeBook
Published inApr 2015
Publisher
ISBN-139781783281558
Edition1st Edition
Tools
Right arrow
Author (1)
Aman Singh
Aman Singh
author image
Aman Singh

Gurmukh Singh is a seasoned technology professional with 14+ years of industry experience in infrastructure design, distributed systems, performance optimization, and networks. He has worked in big data domain for the last 5 years and provides consultancy and training on various technologies. He has worked with companies such as HP, JP Morgan, and Yahoo. He has authored Monitoring Hadoop by Packt Publishing
Read more about Aman Singh

Right arrow

Logging levels


Every rule consists of two fields—selector field and action field. The selector field specifies a pattern of facilities and priority. Facility and priority is separated by a .; facility specifies the subsystem that produced the message. Table 1 lists out facilities and Table 2 lists out priorities:

Table 1: Facility

Facility

Description

Kernel

Kernel messages

User

User level messages

Mail

Mail messages

Daemon

System messages

FTP

FTP server messages

The log severity can be controlled using the priority option, and we can make it as verbose as we like. The trade off is always between size of logs and what to log.

Table 2: Priorities

Severity

Description

0

Emergency, system unstable

1

Alert: Immediate action

2

Critical: The state of the system/application is critical

3

Error condition: The system is throwing errors

4

Warning

7

Debug. Verbose logging of information

Log kernel-related messages to a separate file, with the pattern as kernel subsystem and...

lock icon
The rest of the page is locked
Previous PageNext Page
You have been reading a chapter from
Monitoring Hadoop
Published in: Apr 2015Publisher: ISBN-13: 9781783281558

Author (1)

author image
Aman Singh

Gurmukh Singh is a seasoned technology professional with 14+ years of industry experience in infrastructure design, distributed systems, performance optimization, and networks. He has worked in big data domain for the last 5 years and provides consultancy and training on various technologies. He has worked with companies such as HP, JP Morgan, and Yahoo. He has authored Monitoring Hadoop by Packt Publishing
Read more about Aman Singh