Search icon CANCEL
Subscription
0
Cart icon
Cart
Close icon
You have no products in your basket yet
Save more on your purchases!
Savings automatically calculated. No voucher code required
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Monitoring Hadoop

You're reading from  Monitoring Hadoop

Product type Book
Published in Apr 2015
Publisher
ISBN-13 9781783281558
Pages 100 pages
Edition 1st Edition
Languages
Author (1):
Aman Singh Aman Singh
Profile icon Aman Singh
Toc

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 chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime