Open GoogleCodeExporter opened 8 years ago
Hi,
When you declare your error log, you have the option of specifying the
application
name too, e.g.
<errorLog type="Elmah.SqlErrorLog, Elmah"
connectionStringName="xxx" applicationName="MyApplication" />
Firstly, could you not use this technique to ensure that all you
"sub-applications"
logged to the same place?
Secondly, the fact that you can do this means that the solution you offer will
not
necessarily work!
Perhaps this would be better covered by the issue 31 when that is resolved?
James
Original comment by jamesdriscoll71
on 10 May 2008 at 12:52
Original comment by azizatif
on 30 Sep 2008 at 10:49
I think it would be helpful to be able to do something similar. I log
exceptions from my admin site and my public site to the same database. It would
be helpful if when I went to elmah.axd, it allowed me to view errors from both
applications and to be able to easily determine which application the error
stemmed from.
Maybe in the declaration of the elmah.axd handler in the web.config, we could
specify which applicationName attributes we wish to have shown when calling the
handler.
Original comment by anthony....@gmail.com
on 22 Mar 2011 at 3:06
So I've tried setting applicationName attribute in several application and it
does not work. Is there anything else that needs to be updated in order for
this attributes value to write to the application field in the database? Or is
the latest version bugged?
Original comment by nezoi...@gmail.com
on 17 Oct 2014 at 2:20
@nezoic01
Could you ask a question on the discussion group
(https://groups.google.com/forum/#!forum/elmah) and post the relevant lines of
your web.config (with any sensitive data such as passwords obscured) and we can
help you there!
Original comment by jamesdriscoll71
on 17 Oct 2014 at 2:50
This issue has been migrated to:
https://github.com/elmah/Elmah/issues/50
The conversation continues there.
DO NOT post any further comments to the issue tracker on Google Code as it is
shutting down.
You can also just subscribe to the issue on GitHub to receive notifications of
any further development.
Original comment by azizatif
on 25 Aug 2015 at 8:16
Original issue reported on code.google.com by
jxli1...@gmail.com
on 4 Jan 2008 at 6:39