[Mono-aspnet-list] Missing line numbers in debug output

mabra at manfbraun.de mabra at manfbraun.de
Fri Jul 24 16:47:09 UTC 2015


Hello !

I am using 'log4net' to privide logging information, but there
are no line numbers in my output, they are always zero. The
log4net config is ok - I am using this always, if I start something
new. As told: The number is zero, no runtime errors and the
application works.

I am using apache2 with mod_mono and have this set:

MonoDebug true
MonoSetEnv "debug=true"

The global app objects are compiled
manually with: "-debug+". In all cases,
gmcs is used. If mono
compiles the aspx file, I see two
debug options and these are not always
the same:

/debug+		//SOMETIMES: /debug- !!!
/d:DEBUG		//SOMETIMES: Missing !!!

My web.config has this:

<compilation debug="true" defaultLanguage="C#">

So the compilation statement should be always the same!
I have no idea, where I can look further. There seems to be
no "last log" of the compilation.

My apache virtual host is this:

<VirtualHost 192.168.11.53:80>
	ServerName *
	DocumentRoot /var/www/noads
	ErrorDocument 404 /AdHandler.aspx

	MonoDebug true
	MonoSetEnv MONO_IOMAP=all
	MonoAutoApplication disabled
	MonoSetEnv "debug=true"

	MonoServerPath noads /usr/bin/mod-mono-server2
	AddHandler mono .aspx .ascx .asax .ashx .config .cs .asmx .axd
	AddMonoApplications noads "/:/var/www/noads"

	<Directory />
		Options Indexes FollowSymLinks MultiViews
		MonoSetServerAlias noads
	</Directory>

	ErrorLog /var/log/apache2/noads/error.log
</VirtualHost>

I am using debian 6.0.10 (sqeeze) with mono 2.10.8.1
It is not possible to upgrade in the near future.

Any help would be really very welcomed !!

Best regards,

Manfred

[Note: This is a resend. My first mail was confirmed, but never appeared...]





More information about the Mono-aspnet-list mailing list