Comments (8)
How is this different than simply commenting out the relevant sections/elements
in
the configuration file to disable the functionality? What is the major benefit
of
being able to leave a component in the pipeline yet have it disabled? Granted
it's
easy to add, but still, it would be nice to understand the strong case for this
overload.
Original comment by azizatif
on 26 Jun 2007 at 7:30
- Changed title: Disabling modules via configuration
- Added labels: Type-Enhancement
- Removed labels: Type-Defect
from elmah.
I just like to be able to enable/disable things via configuration attributes
instead
of the comment out. It was easy to add and I like to do that as opposed to
commenting them out if possible....
Either way....
Original comment by [email protected]
on 26 Jun 2007 at 6:32
from elmah.
Original comment by azizatif
on 14 Nov 2007 at 10:45
- Added labels: Component-Logic, Priority-Low
- Removed labels: Priority-Medium
from elmah.
[deleted comment]
from elmah.
I would also like to see this.
Personally, I use a custom utility to automatically generate multiple
web.config files from a single template and this is a feature I have wanted for
some time now as I cannot comment out a line with my tool, but I can change a
property value to true/false.
Original comment by [email protected]
on 26 Aug 2010 at 5:18
from elmah.
[deleted comment]
from elmah.
I'd like this as well.
Another solution would be to just allow an empty string for the "to" field in
the configuration. I see that the code supports that (if the string is empty,
it just returns out of the method. Right now it throws an exception if the
field is empty.
Our situation is that we have multiple environments. We don't want to send
emails in certain envrionments or from developer machines, but it's nice if the
configuration files are mostly the same. In some projects I've been on,
including this one, the various config files are managed with scripts and if
they are very different then it gets weird.
Thanks very much for a great tool.
Original comment by [email protected]
on 6 Jun 2014 at 7:17
from elmah.
This issue has been migrated to:
https://github.com/elmah/Elmah/issues/9
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:15
from elmah.
Related Issues (20)
- Add color and style to error stack trace HOT 2
- XmlException when error XML has been customized with new elements HOT 2
- Ability to include sessoin information in logs HOT 1
- PATCH: Allow remote access by subnet HOT 3
- MySQL Support HOT 1
- .NET 1.x builds fail due to SqlCompactErrorLog.cs HOT 3
- Error parsing characters HOT 1
- ReSharper Reporting Elmah Run-Time Error in Properly Working Web Site HOT 2
- Error Email report not able to send HOT 1
- Add error XML and JSON detail URL to the downloadable CSV HOT 1
- Production issues HOT 3
- MySqlErrorLog comments missing from sample web.config HOT 1
- PgsqlErrorLog entry is uncommented in sample web.config HOT 1
- Unhandled errors that kill w3p process need to be logged HOT 2
- Update SQL Compact 4 dependency to RTM version HOT 1
- MySqlErrorLog.cs HOT 4
- Performance Issue HOT 4
- Support viewing errors from multiple applications HOT 5
- ELMAH's package isn't strongly signed with a pfx or snk file. HOT 4
- Exception thrown when XmlErrorLog logdirectory does not exists and errors are listed by elmah.axd HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from elmah.