03-06-2013
I have investigated this before....
The last time I tried to get help with this issue the consensus was that the logs are just basically for the people that write the programs because it is very difficult to find out what the messages in the log mean. Unless we are up to speed of what the event that caused the error message that is logged, it does not mean anything to the person that did not write the code for the application. So as I do not think that being an expert on code I did not write is practical, I want to organize it so it is as comprehensible as possible.
I know that I can have the separate applications that use ksysd and syslogd (is it?) write to their own separate logs so I'm positive that these events only belong to this one/specific application. Otherwise I look at xsession errors for example and I don't have a clue which error messages where created by which application that writes to this log.
Now I would know which application created the message but not what it means. My next step would be to try to use the process of elimination to understand what the messages mean or get a closer understanding anyways.
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Hi:
(I apologise in advance for the lengthy prelude--but i think it's necessary to properly ask my question.) I code in Ruby and Python on Mac OS X. Ruby, for instance, as i suspect everyone here knows, is both open source and it it lacks native support for e.g., GUI and Image Manip. These two... (0 Replies)
Discussion started by: Alex_Land
0 Replies
2. HP-UX
Hello,
I am New to Unix.
I am Using HP-UX 9000 Series for my Application.
I am Currently Facing an Issue that the error messages are being written in the syslog file instead of the Application Log File. The Codes for that Syslog.h is written in Pro*C.
I want to know how to Redirect these... (3 Replies)
Discussion started by: balasubramaniam
3 Replies
3. Shell Programming and Scripting
HELLO,
I am using such a command to write oracle sqlplus query result to text file:
sqlplus -S xxx/xxx@xxxxxxx @\tmp\2.sql>\tmp\123.txt
Is it possible to script that:
If command succesfull write in \tmp\log.txt:
timestamp and "succeded"
and create 123.txt with results
else
If error... (2 Replies)
Discussion started by: tomasba
2 Replies
4. Shell Programming and Scripting
Hi Everyone,
I have an issue and trying to get a solution but was not succesful yet. Any help is greatly appreciated.
I am using ksh to inoke sql loader to load data from txt file into two oracle tables based on the condition written in the control file. If an error occurs while loading into... (8 Replies)
Discussion started by: vpv0002
8 Replies
5. Shell Programming and Scripting
Hi
I have a requirement to write a script to capture all errors in a Logfile and send the file in email.
If there is any error occurred the subject of email will be ERROR , If there are no error occurred the subject of email will be SUCCESS.
So I created a Log file and put the Appropriate... (2 Replies)
Discussion started by: dgmm
2 Replies
6. Shell Programming and Scripting
Hi everyone,
I am trying to join two files together based on a field present in both files but not necessarily in the same order.
File 1:
123 user1
245 user2
559 user3
File 2:
123 user1
246 user4
544 user2
Also, sometimes a user may not even be in both files. What I want awk to... (3 Replies)
Discussion started by: collards
3 Replies
7. Solaris
Hi
Please would it be right to log the errors from a script running in cron in the following manner:
/datax/vendor/dump.sh > /datax/vendor/err.log 2>&1 (16 Replies)
Discussion started by: fretagi
16 Replies
8. Shell Programming and Scripting
I have two files as the following:
file1:
243
242
243
242
242
file2:
243 car 360 396k
242 bike 240 217k
I want the corresponding $3 in file 2 added as $2 in file 2.
The expected output would be:
243 360
242 240
243 360 (2 Replies)
Discussion started by: jamie_123
2 Replies
9. Web Development
Apache Web Server:
how to log http 404 error to a separate log file and i do not want to log in access.log
please advice. (2 Replies)
Discussion started by: raghur77
2 Replies
10. UNIX for Beginners Questions & Answers
I am writing a shell script with 2 run time arguments. During the execution if i got any error, then it needs to redirected to a error file and in console. Also both error and output to be redirected to a log file. But i am facing the below error.
#! /bin/sh
errExit ()
{
errMsg=`cat... (1 Reply)
Discussion started by: sarathy_a35
1 Replies
LEARN ABOUT DEBIAN
rolllog
ROLLLOG(1p) User Contributed Perl Documentation ROLLLOG(1p)
NAME
rolllog - DNSSEC-Tools utility to write messages to the DNSSEC rollover log file
SYNOPSIS
rolllog -loglevel <level> <log_message>
DESCRIPTION
The rolllog program writes log messages to the DNSSEC rollover log file. rolllog does not actually write the messages itself; rather, it
sends them to the rollerd rollover daemon to write the messages. rollerd keeps track of a logging level, and only messages of that level
or higher are written to the log file.
OPTIONS
The following options are recognized:
-loglevel level
Logging level of this message. The valid levels are defined in rollmgr.pm(3). This option is required.
-help
Display a usage message.
-Version
Displays the version information for rolllog and the DNSSEC-Tools package.
COPYRIGHT
Copyright 2006-2012 SPARTA, Inc. All rights reserved. See the COPYING file included with the DNSSEC-Tools package for details.
AUTHOR
Wayne Morrison, tewok@tislabs.com
SEE ALSO
rollctl(8), rollerd(8)
Net::DNS::SEC::Tools::rollmgr.pm(3)
perl v5.14.2 2012-06-21 ROLLLOG(1p)