Skip to content

Commit

Permalink
Readme update
Browse files Browse the repository at this point in the history
  • Loading branch information
majimenezp committed May 14, 2012
1 parent dc84c3e commit ec4fbd5
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions README
Expand Up @@ -6,7 +6,7 @@ DistAppLog can use a Redis database or Sqlite database to store the logs.
How can i use?
The app are divided in the server lib and the client lib.
First, you need to setup the server, the server it's a dll that can be hosted inside a windows service,a console app or in another app.
In the host application you need to configure if the server will use a redis database or a sqlite database,also the communication port with the clients and the web server port.
In the host application you need to configure if the server will use a redis database or a relational database(Sql server, sqlite, postgre,etc) ,also the communication port with the clients and the web server port.

In the client apps, configure the client to use the server ip and port, and a name for your app(to identify in the server side) and you can start to send some loggin info.

Expand All @@ -19,19 +19,20 @@ To log some data in the server:
Other way it's using the static method in the logclient:
DistALClient.AppLogClient.Instance.SendInfoMessage("Mymodule","Message");

You can log events like error, falta, warn, debug and info.
You can log events like error, fatal, warn, debug and info.
Check the example in the solution and give at try in your app.

What component are using?
New in this version:
-Major perfomance improvement implementing a socket pool to send the data and reuse the socket connections
-Now using fluent Nhibernate to access to relational databases

Dependencies:
ZeroMq- To communicate the clients with the server, you need to configure an open tcp port in the server, and have this port open in the client in order to communicate with the server.
Massive - To save the data in a sqlite database, in this momment only sqlite database are supported,but you can try with sql server, and must work without problems.
Fluent Nhibernate- To abstract the database access,can use any database that have compatibility with nhibernate
ServiceStack.Redis -To save data in a Redis Server, for fast logging
Nancy + Kayak -To serving a simple page to view the logs

TODO:
-Implement reactive extension in order to have a full asyncronous processing and support a lot of incomming messages(implemented in some form,but no tested)
-Asyncronous processing in the client side of the lib(currently uses threadpool for sending the messages)
-Improve the support for other databases (sql server, mysql, etc).
-Improve web frontend for administration,log view,search and a REST API for logging
-Maybe create an provider for log4net.

Expand Down

0 comments on commit ec4fbd5

Please sign in to comment.