How to create error and information files separately using enterprise library??? All errors from TraceEventType.Error in an Error file in one location and all information from TraceEventType.Information in an information file in another location .how to achive this. *** Sent via Developersdex http://www.developersdex.com ***
Configure two separate listeners that write to different files. Use one listener for the errors and one listener for the informational messages. -- Bryan Phillips MCT, MCSD, MCDBA, MCSE Microsoft MVP - Client Application Development Blog: http://bphillips76.spaces.live.com Web Site: http://www.composablesystems.net "Shijas KM" wrote in message news:erqtKVsJIHA.5360@TK2MSFTNGP03.phx.gbl: > How to create error and information files separately using enterprise > library??? > All errors from > TraceEventType.Error in an Error file in one location and all > information from TraceEventType.Information in an information file in > another location .how to achive this. > > *** Sent via Developersdex http://www.developersdex.com ***
Can you kindly paste a sample configuration? "Bryan Phillips" <bphillips@nospam.spamcop.net.spammenot> wrote in message news:OJLynpTKIHA.3356@TK2MSFTNGP02.phx.gbl... > Configure two separate listeners that write to different files. Use one > listener for the errors and one listener for the informational messages. > > -- > Bryan Phillips > MCT, MCSD, MCDBA, MCSE > Microsoft MVP - Client Application Development > Blog: http://bphillips76.spaces.live.com > Web Site: http://www.composablesystems.net > > > > "Shijas KM" wrote in message > news:erqtKVsJIHA.5360@TK2MSFTNGP03.phx.gbl: > >> How to create error and information files separately using enterprise >> library??? >> All errors from >> TraceEventType.Error in an Error file in one location and all >> information from TraceEventType.Information in an information file in >> another location .how to achive this. >> >> *** Sent via Developersdex http://www.developersdex.com *** >