trafodion-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Qifan Chen <>
Subject Re: Where does cerr go in sqlci?
Date Thu, 24 May 2018 00:32:13 GMT

To debug the compiler, it is still OK to write to even cout and capture the output via "script
-f <file>".


From: Selva Govindarajan <>
Sent: Wednesday, May 23, 2018 6:15:06 PM
Subject: RE: Where does cerr go in sqlci?

I believe it goes to file in  /tmp  directory.  Find the pid of sqlci
cd /proc/<pid>/fd
ls -l 2

This needs to be fixed. There was a change that went into EsgynDB to fix this issue and this
needs to be ported back to Trafodion.


-----Original Message-----
From: Dave Birdsall <>
Sent: Wednesday, May 23, 2018 4:09 PM
Subject: Where does cerr go in sqlci?


I am debugging some stuff in NormItemExpr.cpp.

I see some nice debugging macros in there, e.g. DBGIF, that have code that write things to

So I tried it. But damned if I can figure out where "cerr" is being written to.

I would have thought it would go to a log file in the $TRAF_HOME/logs directory. But nothing
shows up there.

I tried "sqlci 2>dave.txt" but to no avail.

I will guess the Monitor is redirecting cerr somewhere. But where?

Any help would be appreciated.



  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message