Skip to content

A solution that reads the given log files ,processes its content and provides a summary of the logs.It accepts any number of log files from the command line.

License

Notifications You must be signed in to change notification settings

sawreeta/log-processor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

log-processor

A solution that reads the given log files ,processes its content and provides a summary of the logs.It accepts any number of log files from the command line.

Requirements

  • wamp or xampp server installed on your local machine

Getting Started

  • Get a copy of the project from this repository .
  • Then Open CLI and change the directory from local drive to the location where you have placed the files .
  • Execute the following script.
php process.php -f example.log example1.log

Testing

You can also test it by uncommenting the array_push part in process.php.

Output

Alt text

About

A solution that reads the given log files ,processes its content and provides a summary of the logs.It accepts any number of log files from the command line.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages