You are not logged in. Your edit will be placed in a queue until it is peer reviewed.
We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.
- 4Why not fix the bug in the logging code instead?Victor Hurdugaci– Victor Hurdugaci2012-09-09 21:30:40 +00:00Commented Sep 9, 2012 at 21:30
- 5Victor, it's probably not a bug. If the disk the log lives on runs out of space, is that a bug in the logging code?Carson63000– Carson630002012-09-10 00:05:38 +00:00Commented Sep 10, 2012 at 0:05
- 5@Carson63000 - well, yes. The logs aren't being written, therefore: bug. Implement fixed size rotating logs.detly– detly2012-09-10 00:36:05 +00:00Commented Sep 10, 2012 at 0:36
- 6This is the best answer imo, but it is missing one crucial aspect: security. There are some exceptions that occur as a result of the bad guys trying to f-up your program. If an exception gets thrown that you are unable to handle, then you cannot necessarily trust that code anymore. Nobody likes to hear that they wrote the code that let the bad guys in.riwalk– riwalk2012-09-10 02:04:54 +00:00Commented Sep 10, 2012 at 2:04
- 3@detly: The disk can still run out of space, even if you implement fixed size rotating logs. Is it still a bug in the logging code?Jay Sullivan– Jay Sullivan2013-08-15 17:50:38 +00:00Commented Aug 15, 2013 at 17:50
| Show 9 more comments
How to Edit
- Correct minor typos or mistakes
- Clarify meaning without changing it
- Add related resources or links
- Always respect the author’s intent
- Don’t use edits to reply to the author
How to Format
- create code fences with backticks ` or tildes ~ ```
like so
``` - add language identifier to highlight code ```python
def function(foo):
print(foo)
``` - put returns between paragraphs
- for linebreak add 2 spaces at end
- _italic_ or **bold**
- indent code by 4 spaces
- backtick escapes
`like _so_` - quote by placing > at start of line
- to make links (use https whenever possible) <https://example.com>[example](https://example.com)<a href="https://example.com">example</a>
How to Tag
A tag is a keyword or label that categorizes your question with other, similar questions. Choose one or more (up to 5) tags that will help answerers to find and interpret your question.
- complete the sentence: my question is about...
- use tags that describe things or concepts that are essential, not incidental to your question
- favor using existing popular tags
- read the descriptions that appear below the tag
If your question is primarily about a topic for which you can't find a tag:
- combine multiple words into single-words with hyphens (e.g. design-patterns), up to a maximum of 35 characters
- creating new tags is a privilege; if you can't yet create a tag you need, then post this question without it, then ask the community to create it for you
lang-cs