WCF : Unable to have dynamic value for the Logging Application Blocks' Log File name

first post: cardoalex wrote: I have integrated the Logging Application Block with the WCF applic...

How Logger.Write() writes the exception object?

first post: lax4u wrote: the overloaded Logger.Write() method takes object as a parameter. I...

latest post: randylevy wrote: Logger.Write(object) will call ToString() on any object passed in -...

Move log to archive

first post: fantomizer wrote: Hi, I want to move log file from log folder to archive folder whe...

latest post: randylevy wrote: You can either use the ExtendedProperties or a custom LogEntry. To...

Microsoft.Practices.ServiceLocation.ActivationException was unhandled by user code

first post: KlbPadilla wrote: I have this problem: An exception of type 'Microsoft.Practices.Se...

latest post: randylevy wrote: Somewhere in the code it is trying to use the exception policy name...

Error With Caching using WCF

first post: DaveMorgan38 wrote: Hi,I have a WCF service that runs fine and produces the expected re...

latest post: onkar_tendulkar wrote: Hi David, Can you please share what you had to do to fix the probl...

How to buffer in SQL Listener?

first post: lax4u wrote: Our existing application is using Enterprise Library Logging block ...

latest post: randylevy wrote: Out of the box in Enterprise Library 5 there is no way to buffer me...

answered by: randylevy wrote: Out of the box in Enterprise Library 5 there is no way to buffer me...

Changing TimeStamp in Azure Sink for SLAB

first post: BhavikHathi wrote: When I use AzureSinkSubscription to log my events in SLAB, how can ...

latest post: BhavikHathi wrote: It worked as expected. Thanks Randy !

answered by: randylevy wrote: The EventDate is stored as a DateTime type in the Azure table. You...

EntLib6 - EntLibConfig - Custom Validator not in menu

first post: cdpena wrote: Hi, I am attempting to add a custom validator to the list of vali...

latest post: cdpena wrote: Randy, Thank you for the quick response. I downloaded the EntLi...

Error being thrown when using Exception Handling

first post: andyedwards12 wrote: Hi, i'm getting the following error: The current build operation ...

latest post: andyedwards12 wrote: I tried removing and re-referencing dll's to my different projects,...

answered by: andyedwards12 wrote: I tried removing and re-referencing dll's to my different projects,...

Exception handler issue when upgrading from 4.1 to 6

first post: andyedwards12 wrote: Hi, I am getting this error message after upgrading from Enterprise...

latest post: andyedwards12 wrote: That worked perfectly! Thanks for you help.

answered by: randylevy wrote: > We use the "ExceptionPolicy.HandleException(...)" line in hundred...

How to enable filters for listener in out-of-process

first post: lax4u wrote: sorry if i'm re-posting the question here again As per my this po...

latest post: randylevy wrote: Actually, in the out of process scenario an ETW Session is created ...

SqlDatabaseSink doesnt log into Logging DB

first post: lax4u wrote: Im trying to log into SQL Db using SqlDatabaseSink. However doesn't...

latest post: randylevy wrote: If you are debugging and stopped at a break point then the other th...

Error while running SemanticLogging-svc file

first post: lax4u wrote: i have downloaded EnterpriseLibrary.SemanticLogging.Service.1.1.140...

latest post: lax4u wrote: i have downloaded 1.1.1403.2 which was released today and now its w...

answered by: lax4u wrote: i have downloaded 1.1.1403.2 which was released today and now its w...

RollingFlatFileTraceListener timestamp

first post: Shubhada wrote: Hi, I am using RollingFlatFileTraceListener successfully in my p...

latest post: randylevy wrote: Enterprise Library does not support that behavior. You could creat...

Question about semantic logging

first post: lax4u wrote: 1> In out-of-Process approach, the EventSource logs the messages di...

latest post: lax4u wrote: For the in-process approach, events are first sent to ETW and then...

Enterprise Library 6 - no WASABi

first post: bojanbojan wrote: Greetings, Is there a reason behind not having WASABi Autoscaling...

latest post: bojanbojan wrote: Thanks for response :) Regards

ResolutionFailedException: Resolution of the dependency failed... The type Database cannot be constructed

first post: PNKonstant wrote: Hello, Thank you for reviewing my question. First, I am a novice...

latest post: randylevy wrote: It could be that the DbProviderFactories are not configured on the ...

SQL WriteLog Severity Level

first post: davidnguy wrote: I have some issue getting my exception entry logged with the correc...

latest post: davidnguy wrote: That was it! Thanks Randy. Your tips on not configuring the DB on...

How to configure Semantic Logging

first post: pljluca wrote: Hi all, I want to configure Semantic Logging by app.config but I ...

latest post: randylevy wrote: This blog entry talks a bit about it: http://blog.urth.org/2011/01/...

Writing Flat File Trace Listener with a LogWriter

first post: daemons88 wrote: Hi good day! My problem is with LogWriter when i want write repea...

latest post: daemons88 wrote: Ok thanks for all

answered by: randylevy wrote: The issue is here: ``` c# public UserController(IPersonaBLL pe...

Enterprise Library 6.0 - Rolling Log File configuration in 2 configuration files

first post: dfimble wrote: I have a suite of applications which all use the enteriprise loggin...

latest post: randylevy wrote: You cannot use more than one configSource for the same section (as ...

Decoupling providers from configuration classes

first post: julealgon wrote: Hey there. I created my own "application block" some time ago, us...

How do you do Entlib?

first post: BishMan wrote: <font face="Arial" size="2"><br> <a href="http://balikev.com/anasa...

EL5 Logger ConnectionString

first post: davidnguy wrote: Is there a way to provide the Logger component a connectionstring a...

latest post: davidnguy wrote: It was a an issue in my ConnectionString. I missed the Integrated ...

answered by: davidnguy wrote: It was a an issue in my ConnectionString. I missed the Integrated ...

Ent Lib 5.0 and ODP.NET not managed, EntLib Contrib, ASP.NET 4.5 (.NET 4.5) and x64

first post: kiquenet wrote: I have this issue, I'll try explain it I use Windows Server 20...

Activation error occured while trying to get instance of type OracleDatabase, key "" - Activation Exception

first post: dshah41 wrote: Hello All, We are using Enterprise Library building block 5.0 to ...

latest post: kiquenet wrote: Is it possible use Ent Lib 5.0 and ODP.NET not managed (Oracle.Data...

answered by: dshah41 wrote: Hi Randy, Thanks for your prompt reply. I could fix the issue. I...

Exception Handling - Ent Lib 5.0

first post: stephenmbell wrote: I am new to the enterprise library, trying to add it to my visual s...

latest post: randylevy wrote: Yes, the references look good. The message occurs because at runti...

When using LogWriter.Configure() is there a way to save original configuration and restore it?

first post: DavidHerbst wrote: I'm successfully using LogWriter.Configure() to add trace listeners...

latest post: randylevy wrote: Not sure about your logger implementation. I'm going to assume tha...

Prism & Enterprise Library 6

first post: blackbelt wrote: Hi, I was wondering what the story is between Prism and EntLib 6....

ASP.NET semantic logging to database with user impersonation uses app pool identity instead

first post: steverb38 wrote: Hi, I am using the semantic logging block (in-process) in an ASP....

latest post: steverb38 wrote: Hi Randy, Many thanks for the reply. That all makes perfect sense....

Issue while routing log messages to MSMQ

first post: s_dayakara wrote: We are facing issue in routing the log messages to MSMQ in test ser...

latest post: randylevy wrote: Have you enabled the errors special source in the logging configura...

Yet another - rolling file logging not rolling (using Fluent API)

first post: chanra wrote: I am using the Fluent API to configure my rolling flat file listene...

latest post: randylevy wrote: Could you be getting a System.IO.IOException on `File.ReadAllText(l...

Is DateTime allowed as a parameter?

first post: matthewpomar wrote: I have this code: if (IsEnabled()) WriteEvent(17, sessionId, person...

latest post: matthewpomar wrote: Thanks Randy! I looked for this information, but couldn't find it....

answered by: randylevy wrote: I wrote about the valid types in [this thread](http://entlib.codepl...

Using Unity with Data App Block

first post: gravy wrote: Hi. I have started using Unity (DI) in my application. This also ...

latest post: randylevy wrote: The Database class is thread-safe. It doesn't maintain any instanc...

answered by: randylevy wrote: Yes, typically you would use constructor injection and inject the D...

StringLengthValidator NotNullValidator and ValidatorComposition not owrking

first post: manuellt wrote: Is it possible? something very very essensial, don't works well, i'...

latest post: randylevy wrote: What behavior are you looking to see and what are you seeing? It l...

Enterprise Library 6.0 : How to use Exception Manager instance in different project Layers?

first post: psarunkumar wrote: Hi Friends, I have created this class to configure the exception ...

latest post: randylevy wrote: If you are not injecting dependencies (using a container such as Un...

Exception & Logging Application Block: Returning the ErrorID

first post: Surajpatnaik wrote: Hi there, I can see, for Logging/Exception Handling, the the Wri...

latest post: alexdinu wrote: Thank you for confirming. Alex

Use SemanticLogging-svc.exe with Original EntLib Logging?

first post: DavidHerbst wrote: We looked at Semantic logging but we're pretty heavily invested in ...

latest post: randylevy wrote: If you increase the buffer size you may increase memory usage (assu...

answered by: randylevy wrote: If you increase the buffer size you may increase memory usage (assu...

Return new record Id after logging an exception (EL 4.1)

first post: alexdinu wrote: We are writing exception details in a custom table using a stored p...

latest post: randylevy wrote: Unfortunately, there is no explicit place in the interface to retur...

Semantic logging of Process and Thread

first post: sgifford wrote: I am trying to understand using SLAB out of process. If I understa...

latest post: trentmswanson wrote: You should vote on this work item on the SLAB project sight here. [...

Events not received by out-of-process listener when string parameter is null

first post: pvwichen wrote: Hi, I have a simple problem (I think), but I can't find any infor...

latest post: pvwichen wrote: Thanks Randy for the speedy and detailed reply. I will good ahead ...

answered by: randylevy wrote: tl;dr In general, don't send null strings to EventSource.WriteEvent...

Semantic logging - Log to Database

first post: Aramamurthy wrote: I have a requirement to check if the log to the database is success...

latest post: randylevy wrote: Note that there is a work item for this: http://slab.codeplex.com/w...

Semantic Logging using oracle

first post: sathishoncodeplex wrote: All, We are building an Asp.net (MVC) application with Oracle datab...

latest post: tuanlv88 wrote: .

GetBytes() for ExecuteReader( CommandBehavior.SequentialAccess ) return special byte

first post: gelbert wrote: Hi, Did anyone encountered issue of GetBytes() for ExecuteReader( ...

latest post: randylevy wrote: I don't think Enterprise Library provides a method to set the Comma...

Calling ConsoleEventListener.EnableEvents causes error 'item with the same key has already been added'

first post: jonnycoder wrote: EDIT : I found the root cause. My ESAuditEvents class had two funct...

latest post: randylevy wrote: The EventSource performs some magic at runtime (e.g. manifest creat...

fileListener/rollingfileListener is not able to log

first post: kgaurav1023 wrote: Hi, I have downloaded sample application "aExpence" and run in-pro...

latest post: randylevy wrote: I downloaded the sample application, installed the database and the...

TimeStamp column in Traces table

first post: himpatel wrote: Can you please help me clarify which of the following values is cap...

latest post: himpatel wrote: Thanks so much for your clarification. Himanshu

SLAB logging to Windows EventLog

first post: wuzhenfei wrote: Hi there, After reviewing the design doc, I found SLAB will provi...

latest post: gmelnik wrote: Colin, since there are effectively two stacks of EventSource in exi...

Problem with Custom TraceListener and Unit Tests

first post: mseifert wrote: Hello again! I am in the process of trying to unit test logging t...

latest post: randylevy wrote: That __is__ very weird. I did see that some people had the same ex...

Logger.xxxFormat() methods instead of String.Format()

first post: DashNY wrote: Hi there, Are there any plans to add InfoFormat, DebugFormat, Err...

latest post: DashNY wrote: Thanks Randy. Common Logging library worked out well for me.

answered by: randylevy wrote: I assume you are talking about formatting of the Message property a...

Design question [Logging application block] - MsmqTraceListener

first post: midhunlalg wrote: Hi folks, I was doing a code walk through in Logging application b...

Applying Policy Injection on ApiController in WebApi

first post: luckgagan wrote: Hi, Can any body suggest me the approach to apply policy injecti...

latest post: randylevy wrote: What version of Web API are you using? If using the latest version ...

Why PIAB interception failure in this simple example?

first post: sportsmanair wrote: /// <summary> /// StudentBase /// </summary> public class Studentba...

latest post: randylevy wrote: I see what you are saying. The reason why the interception isn't w...

answered by: randylevy wrote: I see what you are saying. The reason why the interception isn't w...

Policy Injection Intercept not working for WebAPI Controllers

first post: luckgagan wrote: Hi, I'm implementing Policy injection with web api and for DI we ...

The connection string for the database 'Test' does not exist or does not have a valid provider.

first post: neerajsaini1982 wrote: I have a very wired issue hosting a service on IIS. I created a l...

latest post: randylevy wrote: Based on the posted message it looks like the code is requesting a ...

Custom db provider factory while maintaining usage of SqlDatabase

first post: olle wrote: I need to use a custom db provider factory (it wraps System.Data.Sq...

latest post: Serboy wrote: Hi, Can I get a sample project on how we can implement your code...

Nothing gets logged to WIndows Azure table

first post: sudheerkovalam wrote: I have a Web API application that uses semantic logging. Here in th...

latest post: NDBelham wrote: Randy. Thanks so much for your help here and I am very pleased to s...

answered by: sudheerkovalam wrote: Hi Randy, We were able to root cause the issue due to which loggin...

System.Configuration.ConfigurationErrorsException: Unrecognized attribute 'symmetricInstance'

first post: Udakhin wrote: I use this application architecture: an executable module and dll l...

latest post: Udakhin wrote: Thanks! Error occurs because, there is in DLL project a reference t...

answered by: Udakhin wrote: Thanks! Error occurs because, there is in DLL project a reference t...

Semantic Logging Application Block preventing application from shutting down

first post: nmarler wrote: SLAB 1.0.1304.0 (per NuGet), Visual Studio 2013, .NET framework 4.5...

latest post: nmarler wrote: Yes, your assumption is correct. The hang seems to jump around betw...

Multi threading causing duplicate messages being logged

first post: ShakibR wrote: Hello, I am having an issue with Ent Lib logging (v5) where when ...

latest post: ShakibR wrote: My two TraceListeners inherit from "CustomeTraceListener" which inh...

Version 6 - DAAB or EF?

first post: oscarzarate wrote: Hi there, I haven't used DAAB for ages and I thought it was dead ...

latest post: randylevy wrote: There are some performance articles available on the web. The data...

Sharing keywords between multiple event sources

first post: techfan2718 wrote: Hello, I am working on a large application, consisting of a number ...

latest post: randylevy wrote: I don't think there is a way to share Keywords. Semantic Logging i...

SLAB and Elasticsearch

first post: noocyte wrote: I have posted this under SLABs own codeplex site, dunno where you p...

latest post: randylevy wrote: Yes, the [SLAB site](http://slab.codeplex.com/) is the preferred lo...

How to Log a Single File from Multiple threads using enterprise library 5.0???

first post: TirumalRao wrote: Hi, I am using enterprise library 5.0 for logging. while runnin...

latest post: MVPKenLin wrote: Well, there is only one application and one instance to run, and on...

Textformatter error template

first post: jarluque wrote: I have this configuration in my application, it work correctly, how...

latest post: randylevy wrote: Before logging, the exception formatter, `TextExceptionFormatter`, ...

Custom sink Out-of-process

first post: damienbod wrote: I have created my own custom sink which inherits from the IObserve...

latest post: damienbod wrote: Thanks for your reply. I found my problem. The Developer's Guide d...

Why does entlib 6.0 need .net 4.5?

first post: ranjithvenkatesh wrote: We have an application that is deployed in XP, Vista, 7 and 8 in 32...

latest post: randylevy wrote: One reason is that some features (such as Semantic Logging) depend ...

Semantic Logging - Best practices for creating EventSource

first post: edgarc wrote: We are trying add Semantic Logging our application. I'm reading thi...

latest post: randylevy wrote: I wouldn't create an EventSource for each assembly (despite the sam...

Enterprise Library Not Logging to Database

first post: obautista wrote: Want to start off by saying I am new to logging using Enterprise Li...

latest post: randylevy wrote: The location of the file is entirely up to you. In the configurati...

answered by: randylevy wrote: The location of the file is entirely up to you. In the configurati...

Remote Service logging

first post: sen3 wrote: I wonder what happened to the remote logging service in entity libr...

latest post: randylevy wrote: The Log Service is part of the [Enterprise Library 5.0 Integration ...

EL Source code missing

first post: damienbod wrote: What happened to the EL source in the last push? Is this not longer...

latest post: damienbod wrote: Sorry found it now, the source has been split. Found the slab code...

Configuration Sources: Can my Parent Source have a Parent Source of its own?

first post: MartinHache wrote: Using Ent Lib 5.0 (5.0.414.0). I have a solution with many applica...

latest post: MartinHache wrote: Thank you for the reply and the confirmation, we'll find an alterna...

Exception handling block with semantic logging

first post: DocteurEthylique wrote: hi, i successully implemented semantic logging with the new entlib...

latest post: mwgevans wrote: That worked great thank you - now I can work on improving my unders...

EntLib5 Logging to Database

first post: wakthar wrote: Hi, I am trying to log to database using EntLib5. I configured the...

latest post: randylevy wrote: It looks like you are using a custom WriteLog stored procedure (fro...

ASP.NET Dependency Injection HTTP Module

first post: ciaran036 wrote: I've been following the steps in the 'Microsoft Enterprise Library ...

latest post: randylevy wrote: > Is this the recommended way to do this in MVC 5 (The link above s...

answered by: randylevy wrote: > 1) The instructions don't mention where to place this code. Since...

EntlibConfig.Exe Source Code

first post: jeglane wrote: Hi, I need source code of EntLibConfig.exe please, if it's pos...

latest post: SandeepCSharp wrote: Thank you.. That really helped. I fixed the problem by downloading ...

answered by: randylevy wrote: You can download the full Enterprise Library source including the c...

Dynamically change the subject for EmailSinkData in EntLibrary June 2005 for .net frameWork1.1

first post: saiprathapcse wrote: Hello We are using EnterpriseLibraryJune2005 in our web applicat...

latest post: saiprathapcse wrote: Sorry for the late reply.Thank u randy for ur support.

Logging information about module and method

first post: SandeepCSharp wrote: Just like any other logging framework (such as log4net), is there a...

latest post: randylevy wrote: There is no out of the box implementation. You would either have t...

Merge module for EntLib6

first post: amohan wrote: Hi, I'm need to include EntLib6 binaries in my installer package. ...

latest post: randylevy wrote: There is no official merge module for Enterprise Library. ~~ Randy...

Have LogEntry instances only arrive at listeners if a categorysource matches a list of categories

first post: fabrikater wrote: Is it possible to have LogEntry instances only arrive at listeners ...

latest post: randylevy wrote: The short answer is no. One Category in the configuration file wil...

Migration 1.1 to 5.0 comprehensive change log

first post: BJB2012 wrote: Existing code base using Enterprise Library June 2005 (1.1) would ...

latest post: kiquenet wrote: Any updates for Enterprise Library 6.0 and ODP.NET ? Maybe using t...

Security Application Block and ElntLib 6

first post: AB_dreeve wrote: We have an application we are developing which already makes use of...

latest post: randylevy wrote: The Security Application Block has been deprecated and removed from...

EventSource.IsEnabled still returns true after keyword was removed from sink configuration.

first post: limburg wrote: The EventSource contains the following method. [Event(1001,Lev...

latest post: limburg wrote: Here’s a link to a sample project, that I created, with the steps t...

FormattedMessage is missing

first post: matthewpomar wrote: I have created a logger with an optional Message argument. Here is ...

latest post: matthewpomar wrote: Thank you Randy.

answered by: randylevy wrote: The issue is that the the WriteEvent for PutFoodJournalData is not ...

Custom Oracle Trace Listener not appearing in Config Tool

first post: mseifert wrote: Hello again! First of all, thanks for your help with my previous i...

latest post: mseifert wrote: Thanks again Randy. This worked perfectly.

answered by: randylevy wrote: Just to be sure we are on the same page you are right-clicking the ...

Enterprise Library 6.0 - Exception when using LogWriterFactory.Create method

first post: mseifert wrote: Hello! I have been trying to work up a proof of concept for my com...

latest post: randylevy wrote: [CoreBuildTraceListener](http://msdn.microsoft.com/en-us/library/mi...

answered by: randylevy wrote: [CoreBuildTraceListener](http://msdn.microsoft.com/en-us/library/mi...

The type Database cannot be constructed. You must configure the container to supply this value.

first post: steliosv wrote: Hello. Following a recent upgrade from version 4.1 to 5.0 of the En...

latest post: galgitron wrote: I had to disable the 'Prefer 32-bit' evil checkbox on my console ap...

When using EventSource.IsEnabled the level in sink configuration seems to be ignored.

first post: limburg wrote: Is same issue as https://entlib.codeplex.com/discussions/483962#pos...

Database logging using Enterprise Library 5

first post: wakthar wrote: Hi I have been following the ExtendedPropertyDatabaseListenerWithE...

latest post: randylevy wrote: > My question is what do I need to do to be able to send my own cus...

The custom exception handler with name 'xxxxx' does not have a type specified

first post: uhsenkodmitry wrote: Hi all, I face with the problem while creating ExceptionManager. ...

latest post: renelopez wrote: Hi uhsenkodmitry! Could you please send me your project as well? My...

answered by: randylevy wrote: You need to add a reference to Microsoft.Practices.EnterpriseLibrar...

Multiple Database Trace Listener for logging

first post: birarich wrote: Hi is it possible to have multiple database trace listners and appl...

latest post: birarich wrote: Thanks Randy Levy....

answered by: randylevy wrote: You should be able to achieve what you want (although it depends on...

Adding column in Traces table of SLAB

first post: Ansmn wrote: Hello I am using Semantic logging with out of process logging and S...

latest post: randylevy wrote: If you want to add a custom column and use it out of process then y...

Consecuitive logging with Microsoft Enterprise Library LogWriter

first post: retorikci wrote: Hi, I have asked the same question in stackowerflow also. I have ...

latest post: randylevy wrote: The approach you posted should work. Instead of making two calls t...

Concurrent logging to a disk file

first post: ciaran036 wrote: I'm currently using Microsoft's Enterprise Library 5.0 with an ASP....

latest post: randylevy wrote: As you mention, trace listeners are locked. The behavior (locking ...

Logging exceptions in oracle

first post: Anjaliagarwal5 wrote: Hi All, I am using enterpise libabry to log the exceptions in orac...

latest post: randylevy wrote: Good to hear you figured it out. Sometimes messages can be a bit a...

EL 6: Semantic Logging with the Distributor Service

first post: jasonjlee wrote: Hi, Sorry if this is a dumb question, but I've looked through the ...

latest post: jasonjlee wrote: Cool, thanks! Ya, I think I'll use the logging app block since I f...

Exception Handling using Ent Lib 6.0

first post: jonathanrufus wrote: Am having a requirement where i would require to access REST servic...

latest post: randylevy wrote: Are you calling the the REST services from the browser? If so, the...

Semantic logging inconsistency on EventName

first post: hossamdarwish wrote: Just started with the SemanticLogging block and everything works gr...

latest post: randylevy wrote: This behavior seems to be by design. See http://entlib.codeplex.com...

Does Transient Fault Handling Application Block support WCF, OData, or any custom protocols?

first post: Lanxing wrote: Hi, recently I came accross Transient Fault Handling Application Bl...

latest post: randylevy wrote: The other scenarios that you list are not supported out of the box....

SLAB Out of process on Azure compute roles

first post: ercenk wrote: We posted the source and a related blog post on how to deploy the o...

latest post: randylevy wrote: Thanks for sharing with the community! ~~ Randy Levy [entlib.suppo...