[Mono-dev] XSP debugging
carlos at applianz.com
Fri Nov 18 17:37:56 EST 2005
On Nov 18, 2005, at 4:21 PM, Marek Habersack wrote:
> On Fri, Nov 18, 2005 at 04:12:36PM -0600, Carlos Solorzano scribbled:
>> On Nov 16, 2005, at 4:43 PM, Marek Habersack wrote:
>>> On Wed, Nov 16, 2005 at 11:00:05AM -0600, Carlos Solorzano
>>>> Whats the easiest way to do some debugging of XSP, is there a
>>>> way to
>>>> turn on logs for XSP?
>>> personally I use log4net (catches also Console.Write/WriteLine)
>>> with the
>>> following config:
>> Marek, have you ever noticed any problems (specially since 1.1.10)
>> where XSP closes after you hit Enter but when you open it again it
>> just gives you a Sharing Violation in trying to open the log file for
> No, never. I'm running the latest SVN mono, mod_mono, xsp and
> haven't had
> such problems. But I run the software on Linux, so the problem
> might be
> windows-specific (I understand you're using Windows, right?)
Actually im using Gentoo 64bit.
I have seen this happen on regular Console apps but not nearly as
often as its happening for me on XSP. Seemed to happen a lot more
often when closing the app using Control C vs letting it end Main.
>> writing? It only happens with XSP for me so far and really bad with
>> the latest version. I wonder if maybe I am configuring log4net at the
>> wrong place, right now I do it somewhere in my Global.asax, on
>> something like OnApplicationStart.
> Why don't you try the method I posted in the other mail? It seems
> to be the
> nicest way of configuring log4net, at least IMHO.
I didn't see how you told log4net to run but now I saw that assembly
(ConfigFileExtension="log4net", Watch=true)] line so I will use that
More information about the Mono-devel-list