9 More Discussions You Might Find Interesting
1. Infrastructure Monitoring
Hi
I like to use tmadmin commands to monitor running application in tuxedo server 12c.But When i use tmadmin help command i get only meta commands.But i like to check printconn,printclient,printserver like that.But these commands are not avaialble in list.I here pasted the help command... (0 Replies)
Discussion started by: selva1587
0 Replies
2. Infrastructure Monitoring
Hi ,
The tuxedo is installed in solaris server. I would like to grab one particular tuxedo service from solaris command line.
Note: I would like to grab only for service related line.
Thank & Regards,
Mani (2 Replies)
Discussion started by: Mani_apr08
2 Replies
3. UNIX and Linux Applications
Hi,
Anyone know about tuxedo middleware tool. If you aware please guild me.
1) where will i get information about it ?
2) What kind of the basis issue ?
I am new in tuxedo, I would like to aware before start my job.
Thanks & Regards,
Mani (1 Reply)
Discussion started by: Mani_apr08
1 Replies
4. Shell Programming and Scripting
Dear Unixians,
I have try to link my libraries with tuxedo
that showing following errors,
]
My make file few lines:
....
actual linking
Please help on this.
Thanks,KKL. (1 Reply)
Discussion started by: kkl
1 Replies
5. Shell Programming and Scripting
I would like to parse through some logs looking for things like exception or failed (grep -i failed). Ideal would be if it were in a menu format so someone without unix ability could just choose option 1 2 or 3 etc. If I could pass the hostname to a variable also that would be awesome, so someone... (5 Replies)
Discussion started by: taekwondo
5 Replies
6. Shell Programming and Scripting
Sorry, couldn't really think of a simple subject/title.
So, I have a log file, and the dates are displayed like so:
2009-03-05 02:49:44
So the first and second field are the date/time. I can change them into a unix timestamp easily with:
date -d "2009-03-05 02:49:44" +%s
However,... (17 Replies)
Discussion started by: Rhije
17 Replies
7. Shell Programming and Scripting
My file will contain following(log.txt):
start testcase: config loading
......
error XXXX
.....
end testcase: config loading, result failed
start testcase: ping check
.....
error ZZZZZ
.....
error AAAAA
end testcase: Ping check, result failed
I am expecting below output. ... (4 Replies)
Discussion started by: shellscripter
4 Replies
8. UNIX for Dummies Questions & Answers
I need to identify a list of AIX command strings that can be used to parse Powerbroker logs for changes that are being made by Unix SysAdmins. Need to filter out (as much as possible) inquiry or routine maintenance activity and concentrate on software/security changes.
This is for internal... (1 Reply)
Discussion started by: bcouchtx
1 Replies
9. UNIX for Dummies Questions & Answers
Hi,
I am new to the UNIX environment so putting this query here. Was working with mainframes till now.
The UNIX system i am working on uses MQ series along with Tuxedo for communicating with mainframes. I want to know why is Tuxedo required in order to use MQ on the unix side? On mainframes... (1 Reply)
Discussion started by: pav001
1 Replies
Plack::Middleware::AccessLog(3pm) User Contributed Perl Documentation Plack::Middleware::AccessLog(3pm)
NAME
Plack::Middleware::AccessLog - Logs requests like Apache's log format
SYNOPSIS
# in app.psgi
use Plack::Builder;
builder {
enable "Plack::Middleware::AccessLog", format => "combined";
$app;
};
DESCRIPTION
Plack::Middleware::AccessLog forwards the request to the given app and logs request and response details to the logger callback. The format
can be specified using Apache-like format strings (or "combined" or "common" for the default formats). If none is specified "combined" is
used.
This middleware uses calculable content-length by checking body type, and can not log the time taken to serve requests. It also logs the
request before the response is actually sent to the client. Use Plack::Middleware::AccessLog::Timed if you want to log details after the
response is transmitted (more like a real web server) to the client.
This middleware is enabled by default when you run plackup as a default "development" environment.
CONFIGURATION
format
enable "Plack::Middleware::AccessLog",
format => '%h %l %u %t "%r" %>s %b "%{Referer}i" "%{User-agent}i"';
Takes a format string (or a preset template "combined" or "custom") to specify the log format. This middleware implements a subset of
Apache's LogFormat templates <http://httpd.apache.org/docs/2.0/mod/mod_log_config.html>:
%% a percent sign
%h REMOTE_ADDR from the PSGI environment, or -
%l remote logname not implemented (currently always -)
%u REMOTE_USER from the PSGI environment, or -
%t [local timestamp, in default format]
%r REQUEST_METHOD, REQUEST_URI and SERVER_PROTOCOL from the PSGI environment
%s the HTTP status code of the response
%b content length
%T custom field for handling times in subclasses
%D custom field for handling sub-second times in subclasses
%v SERVER_NAME from the PSGI environment, or -
%V HTTP_HOST or SERVER_NAME from the PSGI environment, or -
Some of these format fields are only supported by middleware that subclasses "AccessLog".
In addition, custom values can be referenced, using "%{name}", with one of the mandatory modifier flags "i", "o" or "t":
%{variable-name}i HTTP_VARIABLE_NAME value from the PSGI environment
%{header-name}o header-name header
%{time-format]t localtime in the specified strftime format
logger
my $logger = Log::Dispatch->new(...);
enable "Plack::Middleware::AccessLog",
logger => sub { $logger->log(level => 'debug', message => @_) };
Sets a callback to print log message to. It prints to "psgi.errors" output stream by default.
SEE ALSO
<http://httpd.apache.org/docs/2.2/mod/mod_log_config.html> Rack::CustomLogger
perl v5.14.2 2012-04-14 Plack::Middleware::AccessLog(3pm)