Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Readme update

  • Loading branch information...
commit ec4fbd5cbdaa6c0ce0ae5457249a36ce306a9323 1 parent dc84c3e
@majimenezp authored
Showing with 8 additions and 7 deletions.
  1. +8 −7 README
View
15 README
@@ -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.
@@ -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.
Please sign in to comment.
Something went wrong with that request. Please try again.