New Level?

2002-08-20 Thread MarkB
I'm working on a project where I'm implementing a 3rd party proprietary/(mostly undocumented) network protocol. One of my logging statements dumps each byte as it's received/sent over the network. This is used in the "direst" debugging situations, and can obviously generate a very large number of

Logging idioms or guidelines: anyone have some?

2002-08-27 Thread MarkB
My boss is away, so I'm taking the opportuinity to clean up my code. I have a set of standards I use for style, formatting, documentation, naming etc. I also have a set of coding idioms I like to follow (Law of Demeter, code metric limits, etc). My problem is I don't yet have a set of logging idi

Re: Separating stdout and stderr

2002-10-03 Thread MarkB
> I'm still puzzled by why you want to do this. If stdout and stderr are both > just writing to the screen, why differentiate them? And if one is being > redirected to a file, why not use a file appender? "just writing to the screen" is not quite the way to think of it. There's a reasong it's

RE: Plans for supporting a build in level of "trace"

2003-09-22 Thread MarkB
Better question: Why have any level's implemented? Probably because it's useful to have sensible default implementations. "TRACE" or "FINE" is one that many seem to agree is sensible and required. I think the idea is, no matter how many or few default levels there are, the defaults should cover