In fact, these are the default properties for the trace listener (I assume that you are using a flat file trace listener or a Rolling Flat Trace trace listener). Properties can be set using the header and footer attributes in the configuration file. However, since they are not installed and the default values ββare used, they will not actually be displayed in the configuration file (but they will be in the configuration tool).
So, if you do not want the header and footer to set them to empty. In the configuration file, it will look like this:
<add name="Flat File Trace Listener" type="Microsoft.Practices.EnterpriseLibrary.Logging.TraceListeners.FlatFileTraceListener, Microsoft.Practices.EnterpriseLibrary.Logging, Version=5.0.414.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" listenerDataType="Microsoft.Practices.EnterpriseLibrary.Logging.Configuration.FlatFileTraceListenerData, Microsoft.Practices.EnterpriseLibrary.Logging, Version=5.0.414.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" fileName="trace.log" header="" footer="" />
source share