Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I'm wondering if there is a way and how to do it for "Apache access log" file to log only certain lines. I would establish a common pattern for these lines to be logged e.g. %GET /abc/clients/%.

To be more clear, all I want "Apache access log" to capture are lines containing the previous string.

Is there any way to do this? Please bear in mind that I'm very new to all of this and just starting with WAMP.

Thanks in advance!


migration rejected from stackoverflow.com Aug 14 '13 at 20:51

This question came from our site for professional and enthusiast programmers. Votes, comments, and answers are locked due to the question being closed here, but it may be eligible for editing and reopening on the site where it originated.

closed as off-topic by Tom O'Connor Aug 14 '13 at 20:51

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "Questions seeking product, service, or learning material recommendations are off-topic because they tend to become obsolete quickly. Instead, describe your situation and the specific problem you're trying to solve." – Tom O'Connor
If this question can be reworded to fit the rules in the help center, please edit the question.