Hi thanks, unfortunately the switches section is not valid in web.config, I remember it was a simple change, If only I could remember exactly what it was ...
-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Hona, David S Sent: 16 April 2008 09:26 To: [email protected] Subject: RE: [U2] uo.net logging I don't know about asp.net, but in my vb.net app.config that is using uo.net, I have (no doubt actually cloned from another app, probably IBM supplied sample!): <?xml version="1.0" encoding="utf-8" ?> <configuration> <!-- <UO.NET> <General> <add key="SocketTimeOut" value="300000" /> </General> <PerformanceMonitor> <add key="BusyConnectionCounter" value="0"/> </PerformanceMonitor> </UO.NET> --> <system.diagnostics> <switches> <!-- Set value property of the TraceMethods switch to one of the following: 0 (false) or 1 (true) --> <add name="UniBooleanSwitch" value="1" /> <!-- Set value property of the Arithmetic switch to one of the following: 1(error), 2(warning), 3(info), 4(verbose) --> <add name="UniTraceSwitch" value="3" /> </switches> <trace autoflush="true" indentsize="4"> <listeners> <!-- <add name="UniListener" type="System.Diagnostics.TextWriterTraceListener, UODOTNET version=1.0.* Culture=neutral" initializeData="c:\myListener.log" /> --> <!-- <add name="myListener" type="System.Diagnostics.TextWriterTraceListener" initializeData="c:\temp\myListener.log" /> --> <add name="myListener" type="System.Diagnostics.TextWriterTraceListener" initializeData="c:\temp\myListener.log" /> </listeners> </trace> </system.diagnostics> </configuration> David -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Symeon Breen Sent: Wednesday, April 16, 2008 5:30 PM To: [email protected] Subject: [U2] uo.net logging Can someone remind me what entries to put in the web.config for an asp.net app that uses uo.net to write the uo.net trace file b I know it was something to do with <trace> and <listeners> but can not find my old example anywhere b&. Thanks Symeon. ------- u2-users mailing list [email protected] To unsubscribe please visit http://listserver.u2ug.org/ ------- u2-users mailing list [email protected] To unsubscribe please visit http://listserver.u2ug.org/ ------- u2-users mailing list [email protected] To unsubscribe please visit http://listserver.u2ug.org/
