Log4j with writing in different files

hiho guys i want to ask you for the best practice (according to you) for writing a log in different files, for example i want info severity to be logged in info.log, debug severity in debug.log and so on... and no i dont want to use different Logger for each severity


We had an application that used to do this (separate log files per severity), and it ended up providing us no value.

All it ends up doing is A) complicating your debugging efforts, and B) taking up disk space.

Logging all severities to the same file is more convenient and easier to work with.

Need Your Help

A lock-free priority queue in C#

c# .net priority-queue

I have been searching lately for information on how to construct a lock-free priority queue in C#. I have yet to even find an implementation in any language, or a decent paper on the matter. I have...

value of offset bigger than long int in fseek

c system

we know that the parameters of fseek are :

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.