mcross1882 / LogAnalyzer

Log analyzer and summary builder written in Scala built for JVM projects
Apache License 2.0
0 stars 1 forks source link

Improve configuration heirarchy #2

Closed mcross1882 closed 10 years ago

mcross1882 commented 10 years ago

Right now there are 3 main files that are used to define all the services. Ideally there should probably be a set of directories where all the files recursively executed. In addition to separating the directories there also needs to be a global folder which defines a set of analyzers, parsers, and services that are always available.

Example Heirarchy

/loganalyzer
  - /config
    - /analyzers
    - /parsers
    - /services
  - /global
    ...

That way we could nest files like so...

- /config
  - /analyzers
    - httpd.config
    - php.config
    - custom.config
...
mcross1882 commented 10 years ago

This was fixed in https://github.com/mcross1882/LogAnalyzer/commit/099042c0d86fc1991e4758dd5f65c387ae17453b