Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

apache_ai

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

apache_ai

Summarizes Apache error logs by removing unnecessary uniquely identifying information

  • 0.0.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

apache_ai

A port of Ivan Ristic's error_log_ai to Node.

This script summarizes Apache error logs by removing unnecessary uniquely identifying information and then counting the lines.

Installing

npm install -g apache_ai

or git clone, but then you need to invoke node index.js.

Usage

For example:

cat /var/log/httpd/error_log | node index.js

Or if you installed this globally using npm install -g apache_ai:

cat error_log | apache_ai

Produces something like this:

6566 [error] PHP Strict Standards:  Non-static method FooBar::entities_decode() should not be called statically, assuming $this from incompatible context in /var/www/abc/foobar.inc on line 8488
5189 [error] PHP Strict Standards:  Non-static method FooBar::percent_encoding_normalization() should not be called statically in /var/www/abc/foobar.inc on line 8661
2858 [error] PHP Deprecated:  Function eregi_replace() is deprecated in /var/www/abc/style.php on line 38

Keywords

FAQs

Package last updated on 23 Apr 2013

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc