Fine grained error logging overrides [Was: Change loglevel of "File does not exist" messages]

2011-10-06 Thread William A. Rowe Jr.
I've been giving this a bunch of thought, not to 'tune' the messages, but simply localize them. The tuning of messages would be a snap. My thought is to build two reference tables, the first of replacement messages hashed by source messages, and the second of replacement messages hashed by source

Re: Fine grained error logging overrides [Was: Change loglevel of "File does not exist" messages]

2011-10-06 Thread William A. Rowe Jr.
On 10/6/2011 1:07 PM, William A. Rowe Jr. wrote: > > On startup, read an arbitrary localization file of source:replacement > error strings (corresponding to the strings scattered throughout our > sources). These obviously include any subst tokens, so the file > permissions of such a localization

Re: Fine grained error logging overrides [Was: Change loglevel of "File does not exist" messages]

2011-10-09 Thread Stefan Fritsch
On Thu, 6 Oct 2011, William A. Rowe Jr. wrote: I've been giving this a bunch of thought, not to 'tune' the messages, but simply localize them. The tuning of messages would be a snap. Such a string pointer->replacement lookup could be extended to add various flags such as desired log level.