Logging - accessing trace listener objects at runtime

Topics: Logging Application Block
Oct 12, 2007 at 11:11 PM
Edited Oct 12, 2007 at 11:11 PM
How can I access the names of the log files created by the rolling flat file trace listeners? I need to be able to upload the files to the host programmatically; I do not want to hardcode the names to match those that are set in the .config by the configuration tools as a user may have changed. I'd like to get either a full path/filename or at least the filename. All the object are created by the library; I am not doing anything programmatically. Shoouldn't I be able t get my hands on the trace listeners that are created by the enterprise libraries from the .config?