Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6052769
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T07:57:54+00:00 2026-05-23T07:57:54+00:00

How can i log warnings when i run apache benchmark. I ran this command

  • 0

How can i log warnings when i run apache benchmark.

I ran this command ab -n10000 -c100 http://crossroads/blog (Locally)

But none of the request is logged in to apache log file.

When i tried the same link in the browser it logged all the entries. Almost 100 entry in each request.

Can anyone help me how can i populate log entry with ab command ?

Thanx

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T07:57:54+00:00Added an answer on May 23, 2026 at 7:57 am

    Basic input/output redirection, could be a great way to add flexibility to your small one liner start up scripts. You should be able to redirect things where they need to, but this will depend on how you design your app.
    Maybe trying something as simple as this could work for you:

    command ab -n10000 -c100 http://crossroads/blog 2>&1 logfile.log
    

    Ab may already have a logfile parameter it seems it would be natural. But above code example show the nice flexibility of io redirections, redirects all error returns and program output to same logfile.

    It’s an easily overlooked yet powerful technique integrated in many shell scripts, but not tried with ab though.

    I would really of thought ab would have a log file parameter or something of the sort.

    Good-luck

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

In Visual Studio 2008 (without SP1), I can compile and run this code //
In a small test file, I can run #!/usr/bin/perl use warnings; use strict; use
I tried this: test1.pl >output.log 2>&1 but this is the result: Can't dup STDOUT:
i want users can log in my website throw FB connect ON MOBILE but
Can you point me to some tutorial or samples on how I can log
I have a site where users can log in and check on outstanding support
Is there a project that can log errors in requests to Django on Google
By looking into the Open JPA website i've found that i can log the
In our client/server application, a user can log in using a username/password. The server
HI, I have a device that exposes a telnet interface which you can log

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.