Last post Mar 14, 2008 12:17 PM by GAuty
Mar 14, 2008 12:17 PM|GAuty|LINK
I'm using the Logging Application Block of Enterprise Library 3.1, and have a requirement to dynamically change the name of the flat file to which I'm logging messages.
Is there a simple way of getting to the configuration information and overriding the filename within it? This post
http://forums.asp.net/p/994264/1963232.aspx#1963232 covers this subject, but I can't help feeling that this should be really simple - after all the EL is supposed to make it easier to do things,
but in my experience with this block, it seems quite complex to set up (via the config info) and simple things like my requirement lead to a large amount of code to get round - I need to concentrate on the task in hand rather than writing plumbing code.
Any help would be greatly appreciated.