mirror of
git://git.code.sf.net/p/cdesktopenv/code
synced 2025-03-09 15:50:02 +00:00
DtSvc/MsgLog.c: remove extra 'noise' around log events
Previous: -=-=-=-= *** INFORMATION(0): dtwm: PID 1758056: Sun Feb 27 15:49:37 2022 Workspace Manager: XmeRenderTableGetDefaultFont() failed, trying a fixed font *** [142] -=-=-=-= New: -=-=-=-= *** INFORMATION(0): dtwm: PID 1758839: Sun Feb 27 15:54:09 2022 Workspace Manager: XmeRenderTableGetDefaultFont() failed, trying a fixed font [142 bytes] -=-=-=-=
This commit is contained in:
parent
dcf499ded2
commit
06460abd36
1 changed files with 4 additions and 2 deletions
|
@ -349,7 +349,7 @@ void DtMsgLogMessage (
|
|||
|
||||
(void) strftime (buf,
|
||||
MAX_DATE_TIME_STRING,
|
||||
Dt11GETMESSAGE (48, 1, "%a %b %d %H:%M:%S %Y\n"),
|
||||
Dt11GETMESSAGE (48, 1, "%a %b %d %H:%M:%S %Y\n"),
|
||||
current_time);
|
||||
|
||||
num_bytes = fprintf (fp, "*** %s(%d): %s: PID %d: %s",
|
||||
|
@ -380,7 +380,9 @@ void DtMsgLogMessage (
|
|||
#endif
|
||||
va_end (args);
|
||||
|
||||
fprintf (fp, "\n*** [%d]\n\n", num_bytes);
|
||||
// JET - extraneous noise, just output the count
|
||||
// fprintf (fp, "\n*** [%d]\n\n", num_bytes);
|
||||
fprintf (fp, "[%d bytes]\n\n", num_bytes);
|
||||
|
||||
if (fp != stderr) {
|
||||
(void) fflush (fp);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue