The priority of the log

 
Thread Tools Search this Thread
Operating Systems Linux Red Hat The priority of the log
# 1  
Old 08-19-2012
The priority of the log

Hi,
I can't find the priority in my logs, which under the catalogue of /var/log/lmessages.

For example, if the log below occur on my machine, there is no <30>. What should I do if I want to see <30> .

<30>Oct 9 22:33:20 hlfedora auditd[1787]: The audit daemon is exiting.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Emergency UNIX and Linux Support

Low priority file????

Hi all, which file has the low priority while linux booting?. I just want to run a script in background with low priority while linux boots up.(I need to include that script to be called from that file) as am a newbie to linux. Any help is appreciated. Thanks, SMNK (2 Replies)
Discussion started by: SMNK
2 Replies

2. Red Hat

DNS priority

Hi All, Is this correct on DNS searching? (1st priority) /etc/hosts (2nd p.) /etc/resolv.conf Are there more things that I didn't know? Thank you for any comments you may add. (5 Replies)
Discussion started by: itik
5 Replies

3. AIX

priority for process

hi how to change the priority of a process for eg.if a,b,c these there process are running and if i have to give the b process as high priority and high severe level what should i do (3 Replies)
Discussion started by: senmak
3 Replies

4. Programming

kill priority

hello everybody! i would like to post a question. If i embed in my C code the command kill(9,pid) inside an if command. Is this command(kill) executed in any way. Both if the if is true and false. Does kill have greater priority than the if command. thanx in advance! (5 Replies)
Discussion started by: nicos
5 Replies

5. UNIX for Advanced & Expert Users

Priority of rules in Makefile!!!

Consider in a makefile i have the target defined as: pgm: a.o b.o cmd; To build .o, 2 rules are defind .pc.o: cmds .c.o: cmds My question is which rule will take priority for compiling a.o and b.o when the target pgm is built. Despite the positoning of the 2 rules, .c.o... (1 Reply)
Discussion started by: quintet
1 Replies

6. UNIX for Advanced & Expert Users

IRQ priority in FC9

Hi, I want to increase IRQ4 priority to maximum in Fedora core 9 (kernel version 2.6.25.11-97).If anybody knows plz help me.... I will be very thankful .. regards, Raj (0 Replies)
Discussion started by: rajuprade
0 Replies

7. Shell Programming and Scripting

Please Help me with this ..High Priority!

Hi, I am a nw bie to Schell Scripting, i have a same king of requirement as posted above. my input file is also a log file as below..... 28.05.2008 07:02:56,105 INFO Validation request recieved 28.05.2008 07:03:57,856 INFO 0:01:13.998 Response sent with: <?xml version="1.0"... (0 Replies)
Discussion started by: balaji_gopal
0 Replies

8. Solaris

change priority of stream

Is it possible to change priority of stream process ? Original source: stream ./javawebserver Desired change is kind of: nice --10 of (stream ./javawebserver) (2 Replies)
Discussion started by: gogogo
2 Replies

9. UNIX for Advanced & Expert Users

Increasing priority of a process

Hi! Experts, Is there anyway to incerase the priority of a process which is already started and running??.. I think nice can used for increase priority when we start the process.. But donno how to do when its already running.. Any help would be apreciated.. Jyoti (2 Replies)
Discussion started by: jyotipg
2 Replies

10. Programming

Changing the priority of a program

I have the following code in a file: task ph_cause_sound() { char sys_call; int ret_val; sprintf (sys_call, "/usr/local/bin/test_sound "); ret_val = system(sys_call); } test_sound is a script file that contains one line: nice --20 /usr/local/bin/vmod4dSOUND What is... (2 Replies)
Discussion started by: maddog0606
2 Replies
Login or Register to Ask a Question
logger(1B)					     SunOS/BSD Compatibility Package Commands						logger(1B)

NAME
logger - add entries to the system log SYNOPSIS
/usr/ucb/logger [-f filename] [-i] [-p priority] [-t tag] mm [message]... DESCRIPTION
The logger utility provides a method for adding one-line entries to the system log file from the command line. One or more message argu- ments can be given on the command line, in which case each is logged immediately. If message is unspecified, either the file indicated with -f or the standard input is added to the log. Otherwise, a filename can be specified, in which case each line in the file is logged. If neither is specified, logger reads and logs messages on a line-by-line basis from the standard input. OPTIONS
The following options are supported: -i Log the process ID of the logger process with each line. -f filename Use the contents of filename as the message to log. -p priority Enter the message with the specified priority. The message priority can be specified numerically, or as a facility.level pair. For example, `-p local3.info' assigns the message priority to the info level in the local3 facility. The default pri- ority is user.notice. -t tag Mark each line added to the log with the specified tag. EXAMPLES
Example 1 Logging a message The command: example% logger System rebooted will log the message `System rebooted' to the facility at priority notice to be treated by syslogd as other messages to the facility notice are. Example 2 Logging messages from a file The command: example% logger -p local0.notice -t HOSTIDM -f /dev/idmc will read from the file /dev/idmc and will log each line in that file as a message with the tag `HOSTIDM' at priority notice to be treated by syslogd as other messages to the facility local0 are. ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWscpu | +-----------------------------+-----------------------------+ SEE ALSO
syslogd(1M), syslog(3C), attributes(5) SunOS 5.11 14 Sep 1992 logger(1B)