I know this is a duplicate question but the original has never been answered properly. I've got Bind 9.x set up on my box and the logging turned on. I can see queries being logged but I still can't get it to log the answers to those queries. Here is my named.conf file:
Last edited by Scott; 04-27-2011 at 04:56 PM..
Reason: Code tags
can someone explain the meaning of the following shell commands:
1. who / wc -l
2. who / sort > user_names
3. cat students > new_students
4. current_day='date / cut -cl-3'
i would also appreciated if you could tell me some things about the umask
1. what is a good umask value and why?
2.... (2 Replies)
What is the basic syntax for a script that says
do you want to do this?
y - execute this
n - end
not y or n - end and print this
for example if I want to run this:
"Do you want to start this process?"
answer
if y,Y, or yes
then
run the following script (do I put the script with... (10 Replies)
In MySQL's slow queries log, it'll have an entry like this:
# User@Host: scc_service @
# Query_time: 43 Lock_time: 0 Rows_sent: 0 Rows_examined: 0
SET timestamp=1237769209;
UPDATE loan SET funding_status="scheduled",datetime_approved=now() WHERE loan_id = '00000';
What does Lock_time... (2 Replies)
Hi,
Can anyone tell me how in BIND 9.x (running 9.7.3) do you configure it to put the answer to each query in the log. I see the query, the IP who asked the query but not what the answer to the query is.
thanks for your help,
Phil (3 Replies)
hello guys!! need 1 favour from u all..
Can u jst tell me the answers for these ques??
1. ls - l _____ : command to return all files that end with single digit and those with TXT extension
2. ls -l report* _______ : command to return all files that start with the word RPT except those with LOG... (1 Reply)
Hi,
I have wrote a python program to sum the numbers in a list.However its giving answer one.
Please advise.
MyList =
Number = int(input("Please enter number:"))
for i in range(1, Number + 1):
value = int(input("Enter Numbers %d:" %i))
MyList.append(value)
total =... (3 Replies)
Discussion started by: nag_sathi
3 Replies
LEARN ABOUT DEBIAN
jifty::plugin::sqlqueries
Jifty::Plugin::SQLQueries(3pm) User Contributed Perl Documentation Jifty::Plugin::SQLQueries(3pm)NAME
Jifty::Plugin::SQLQueries - Inspect your application's SQL queries
DESCRIPTION
This plugin will log each SQL query, its duration, its bind parameters, and its stack trace. Such reports are available at:
http://your.app/__jifty/admin/requests
USAGE
Add the following to your site_config.yml
framework:
Plugins:
- SQLQueries: {}
You can turn on and off the stacktrace, as well as an "EXPLAIN" of each query, using options to the plugin:
framework:
Plugins:
- SQLQueries:
stacktrace: 0
explain: 1
The plugin defaults to logging the stack trace, but not the explain.
METHODS
init
Sets up a "post_init" hook.
inspect_before_request
Clears the query log so we don't log any unrelated previous queries.
inspect_after_request
Stash the query log.
inspect_render_summary
Display how many queries and their total time.
inspect_render_analysis
Render a template with all the detailed information.
post_init
Tells Jifty::DBI to log queries in a way that records stack traces.
prereq_plugins
This plugin depends on Jifty::Plugin::RequestInspector.
COPYRIGHT AND LICENSE
Copyright 2007-2010 Best Practical Solutions
This is free software and may be modified and distributed under the same terms as Perl itself.
perl v5.14.2 2010-12-10 Jifty::Plugin::SQLQueries(3pm)