Welcome to Linux Knowledge Base and Tutorial
"The place where you learn linux"
The ONE Campaign to make poverty history

 Create an AccountHome | Submit News | Your Account  

Tutorial Menu
Linux Tutorial Home
Table of Contents

· Introduction to Operating Systems
· Linux Basics
· Working with the System
· Shells and Utilities
· Editing Files
· Basic Administration
· The Operating System
· The X Windowing System
· The Computer Itself
· Networking
· System Monitoring
· Solving Problems
· Security
· Installing and Upgrading
· Linux and Windows

Glossary
MoreInfo
Man Pages
Linux Topics
Test Your Knowledge

Site Menu
Site Map
FAQ
Copyright Info
Terms of Use
Privacy Info
Disclaimer
WorkBoard
Thanks
Donations
Advertising
Masthead / Impressum
Your Account

Communication
Feedback
Forums
Private Messages
Surveys

Features
HOWTOs
News Archive
Submit News
Topics
User Articles
Web Links

Google
Google


The Web
linux-tutorial.info

Who's Online
There are currently, 207 guest(s) and 0 member(s) that are online.

You are an Anonymous user. You can register for free by clicking here

  

evlfacility



SYNOPSIS

       evlfacility  -l|--list

       evlfacility  -v|--verify [file]

       evlfacility  -r|--replace file

       evlfacility     -a|--add    facility-name    [-k|--kernel]
       [-p|--private] [-f|--filter filter] [-F|--force]

       evlfacility  -d|--delete facility-name

       evlfacility   -c|--change  facility-name  [-k|--kernel]  |
       [-u|--user]   |   [-p|--private]   |   [-n|--noprivate]  |
       [-f|--filter filter|nofilter]


DESCRIPTION

       The evlfacility command lets  you  list  contents  of  the
       event logging facility registry, replace the entire facil­
       ity registry, add facilities (with options) to the  facil­
       ity  registry,  delete  facilities,  or modify an existing
       facility.

       For evlfacility options that modify the facility registry,
       event  logging applications already in progress will start
       using the modified registry within 5 seconds. The  follow­
       ing  options  are  accepted  (unless otherwise noted, root
       permission is required to use these options):


OPTIONS

       -l, --list
              Displays the facility names and associated  integer
              values   contained   in   the   facility  registry,
              /etc/evlog.d/facility_registry.    Also    displays
              whether  the  facility logs events from the kernel,
              which  events,  if  any,   are   written   to   the
              /etc/evlog.d/privatelog file, and which events have
              restricted logging.

              This option is available to all users.

       -v, --verify [file]
              Checks the  validity  of  the  indicated  file  and
              reports  any  errors found to stderr. If no file is
              specified, then the contents of the  facility  reg­
              istry   file,  /etc/evlog.d/facility_registry,  are
              checked for validity.

              wise, events will be logged from user-space.

              If --private is specified, then events logged  with
              the  specified  facility will be logged to the pri­
              vate log file, /etc/evlog.d/privatelog, instead  of
              the standard log file, /etc/evlog.d/eventlog.

              If  a  filter  is  specified, it indicates that for
              this facility, only records that  match  the  indi­
              cated filter will be logged. Only attributes in the
              fixed-portion of the event record may  be  used  in
              the  filter expression.  See the  evlquery man page
              for more information.

       -F, --force
              Valid only with --add.  Ordinarily, an  attempt  to
              add  a  facility  that  is  already in the registry
              results in a diagnostic message and a non-zero exit
              status.  If --force is specified, and the specified
              facility is already in  the  registry,  evlfacility
              just  verifies that the existing entry has the cor­
              rect (automatically assigned) code for that  facil­
              ity  name;  --kernel,  --private,  and --filter are
              ignored.

       -d, --delete facility-name
              Deletes an entry from the facility registry for the
              specified facility-name.

       -c,  --change  facility-name [-k|--kernel] | [-u|--user] |
       [-p|--private]  |  [-n|--noprivate]  |  [-f|--filter  fil­
       ter|nofilter]
              Modifies  one  or  more  of the optional parameters
              associated with facility-name in the facility  reg­
              istry.

              -k, --kernel
                     Adds  the  "kernel" parameter for the speci­
                     fied facility-name in the facility registry.
                     This option is not valid with --user.

              -u, --user
                     Removes the "kernel" parameter for the spec­
                     ified facility-name  in  the  facility  reg­
                     istry.  This option is not valid with --ker­
                     nel

              -p, --private
                     Adds the "private" parameter for the  speci­
                     fied facility-name in the facility registry.
                     This option is not valid with --noprivate.


EXAMPLE

       evlfacility --add "Mr Admin" --private
       --filter 'log_format!=BINARY && gid="admins"'

       Adds the facility "Mr Admin"  to  the  facility  registry.
       Events  from  this  facility will be logged to the private
       log. BINARY events will  not  be  logged  (only  variable-
       length  data formats of NODATA or STRING), and events will
       be logged only if group id is "admins".


FILES

       /etc/evlog.d/facility_registry Facility registry


SEE ALSO

       evlquery man page    Filter expression syntax rules

                          11 March 2002             EVLFACILITY()

An undefined database error occurred. SELECT distinct pages.pagepath,pages.pageid FROM pages, page2command WHERE pages.pageid = page2command.pageid AND commandid =


  

The Linux Tutorial is always looking for new contributors.


Login
Nickname

Password

Security Code
Security Code
Type Security Code


Don't have an account yet? You can create one. As a registered user you have some advantages like theme manager, comments configuration and post comments with your name.

Help if you can!


Amazon Wish List

Did You Know?
You can get all the latest Site and Linux news by checking out our news page.


Friends



Tell a Friend About Us

Bookmark and Share



Web site powered by PHP-Nuke

Is this information useful? At the very least you can help by spreading the word to your favorite newsgroups, mailing lists and forums.
All logos and trademarks in this site are property of their respective owner. The comments are property of their posters. Articles are the property of their respective owners. Unless otherwise stated in the body of the article, article content (C) 1994-2013 by James Mohr. All rights reserved. The stylized page/paper, as well as the terms "The Linux Tutorial", "The Linux Server Tutorial", "The Linux Knowledge Base and Tutorial" and "The place where you learn Linux" are service marks of James Mohr. All rights reserved.
The Linux Knowledge Base and Tutorial may contain links to sites on the Internet, which are owned and operated by third parties. The Linux Tutorial is not responsible for the content of any such third-party site. By viewing/utilizing this web site, you have agreed to our disclaimer, terms of use and privacy policy. Use of automated download software ("harvesters") such as wget, httrack, etc. causes the site to quickly exceed its bandwidth limitation and are therefore expressly prohibited. For more details on this, take a look here

PHP-Nuke Copyright © 2004 by Francisco Burzi. This is free software, and you may redistribute it under the GPL. PHP-Nuke comes with absolutely no warranty, for details, see the license.
Page Generation: 0.09 Seconds