Sponsored Content
Full Discussion: missing syslog entries
Operating Systems AIX missing syslog entries Post 302219852 by AIX_user on Wednesday 30th of July 2008 08:05:55 AM
Old 07-30-2008
missing syslog entries

My users are complaining that some of the exception messages issued by their software package does not always show up in syslog. They saw the exceptions in the application log. These exception shpuld have also generated an entry to syslog. However they seem to be missing intermittently. Is this more likely an application problem or AIX problem. I need some advice on how I can perform further problem determination. I am using AIX 53.
 

5 More Discussions You Might Find Interesting

1. Fedora

Missing entries in log files just before/after reboot

Hello world, One of the servers, a Fedora one,rebooted today (Luckily, a testbox). I tried to get the reason the server rebooted. After going through the messages, I think that the log entries just before and after reboot are missing. Please below: (****** is the server name, for privacy... (0 Replies)
Discussion started by: satish51392111
0 Replies

2. UNIX for Dummies Questions & Answers

Filling a tab-separated file with known missing entries in columns

Hello all, I have a file which is tab separated like that: PHE_205_A TIP_127_W ARG_150_B MET_1150_A TIP_12_W VAL_11_B GLU_60_A TIP_130_W ARG_143_B LEU_1033_A TIP_203_W ARG_14_B SER_1092_A TIP_203_W THR_1090_A TIP_203_W SER_1092_A TIP_25_W ... (6 Replies)
Discussion started by: TheTransporter
6 Replies

3. SuSE

How to resolve missing missing dependencies with opensuse 11.3 and 12.3?

Hello, This is a programming question as well as a suse question, so let me know if you think I should post this in programming. I have an application that I compiled under opensuse 12.2 using g77-3.3/g++3.3. The program compiles and runs just fine. I gave the application to a colleague who... (2 Replies)
Discussion started by: LMHmedchem
2 Replies

4. Red Hat

Yum - resolving missing dependencies that are not missing

I am trying to install VirtualBox on RHEL 5 but I need the 32 bit version for 32 bit Windows. When I run yum I get the following: sudo yum localinstall /auto/spvtg-it/spvss-migration/Software/VirtualBox-4.3-4.3.2_90405_el6-1.i686.rpm Loaded plugins: fastestmirror Setting up Local Package... (13 Replies)
Discussion started by: gw1500se
13 Replies

5. Solaris

Which are the available entries to forward syslog in syslog.conf?

Hi Community Which are the available entries to forward syslog in syslog.conf i have put *.err;kern.debug;daemon.notice;mail.crit;user.alert;user.emerg;kern.notice;auth.notice;kern.warning @172.16.200.50 and it's not going through.giving error message like below: syslogd:... (2 Replies)
Discussion started by: bentech4u
2 Replies
Dancer::Exception(3pm)					User Contributed Perl Documentation				    Dancer::Exception(3pm)

NAME
Dancer::Exception - class for throwing and catching exceptions SYNOPSIS
use Dancer::Exception qw(:all); register_exception('DataProblem', message_pattern => "test message : %s" ); sub do_stuff { raise DataProblem => "we've lost data!"; } try { do_stuff() } catch { # an exception was thrown my ($exception) = @_; if ($exception->does('DataProblem')) { # handle the data problem my $message = $exception->message(); } else { $exception->rethrow } }; DESCRIPTION
Dancer::Exception is based on Try::Tiny. You can try and catch exceptions, like in Try::Tiny. Exceptions are objects, from subclasses of Dancer::Exception::Base. However, for internal Dancer usage, we introduce a special class of exceptions, called Dancer::Continuation. Exceptions that are from this class are not caught with a "catch" block, but only with a "continuation". That's a cheap way to implement a workflow interruption. Dancer users should ignore this feature. What it means for Dancer users Users can throw and catch exceptions, using "try" and "catch". They can reuse some Dancer core exceptions ("Dancer::Exception::Base::*"), but they can also create new exception classes, and use them for their own means. That way it's easy to use custom exceptions in a Dancer application. Have a look at "register_exception", "raise", and the methods in Dancer::Exception::Base. METHODS
try Same as in Try::Tiny catch Same as in Try::Tiny. The exception can be retrieved as the first parameter: try { ... } catch { my ($exception) = @_; }; continuation To be used by Dancer developers only, in Dancer core code. raise # raise Dancer::Exception::Base::Custom raise Custom => "user $username is unknown"; # raise Dancer::Exception::Base::Custom::Frontend raise 'Custom::Frontend' => "user $username is unknown"; # same, raise Dancer::Exception::Base::Custom::Frontend raise custom_frontend => "user $username is unknown"; # raise My::Own::ExceptionSystem::Invalid::Login raise '+My::Own::ExceptionSystem::Invalid::Login' => "user $username is unknown"; raise provides an easy way to throw an exception. First parameter is the name of the exception class, without the "Dancer::Exception::" prefix. other parameters are stored as raising arguments in the exception. Usually the parameters is an exception message, but it's left to the exception class implementation. If the exception class name starts with a "+", then the "Dancer::Exception::" won't be added. This allows one to build their own exception class hierarchy, but you should first look at "register_exception" before implementing your own class hierarchy. If you really wish to build your own exception class hierarchy, we recommend that all exceptions inherit of Dancer::Exception::. Or at least it should implement its methods. The exception class can also be written as words separated by underscores, it'll be camelized automatically. So 'Exception::Foo' and 'exception_foo' are equivalent. Be careful, 'MyException' can't be written 'myexception', as it would be camelized into 'Myexception'. register_exception This method allows one to register custom exceptions, usable by Dancer users in their route code (actually pretty much everywhere). # simple exception register_exception ('InvalidCredentials', message_pattern => "invalid credentials : %s", ); This registers a new custom exception. To use it, do: raise InvalidCredentials => "user Herbert not found"; The exception message can be retrieved with the "$exception-"message> method, and we'll be "invalid credentials : user Herbert not found" (see methods in Dancer::Exception::Base) # complex exception register_exception ('InvalidLogin', composed_from => [qw(Fatal InvalidCredentials)], message_pattern => "wrong login or password", ); In this example, the "InvalidLogin" is built as a composition of the "Fatal" and "InvalidCredentials" exceptions. See the "does" method in Dancer::Exception::Base. registered_exceptions my @exception_classes = registered_exceptions; Returns the list of exception class names. It will list core exceptions "and" custom exceptions (except the one you've registered with a leading "+", see "register_exception"). The list is sorted. GLOBAL VARIABLE
$Dancer::Exception::Verbose When set to 1, exceptions will stringify with a long stack trace. This variable is similar to $Carp::Verbose. I recommend you use it like that: local $Dancer::Exception::Verbose; $Dancer::Exception::Verbose = 1; All the Carp global variables can also be used to alter the stacktrace generation. perl v5.14.2 2012-03-31 Dancer::Exception(3pm)
All times are GMT -4. The time now is 03:34 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy