[MPICH] log4c++ or log4cplus or what?...

Yann Golanski yann at kierun.org
Thu Dec 1 10:09:53 CST 2005


Does anyone know of, or has used, a good logging mechanism for C++ with
MPICH2?  I've been testing log4c++ but it seems to core dump (bus
error) under some trivial circumstances. 

Basically, what I want is something that looks like:
  clog << "Foo bar"
which will produce a file in either a log file (one per process) or to
std::cerr which will look like:
  2005-12-1 15:27:20(298289) hovel.york.ac.uk [NOTICE] Node0 -- Foo bar

Can anyone help me?

-- 
yann at kierun.org                  -=*=-                      www.kierun.org
    PGP:   009D 7287 C4A7 FD4F 1680  06E4 F751 7006 9DE2 6318
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/mpich-discuss/attachments/20051201/589ec648/attachment.pgp>


More information about the mpich-discuss mailing list