logging to files
D. R. Evans
N7DR____arrl.net
Mon May 12 18:43:31 CEST 2003
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
I am probably misunderstanding something here.
I have the following lines of code at the beginning of main:
AgentLogImpl* log = new AgentLogImpl( "snmplog.log" );
DefaultLog::init( log );
This creates a logfile as I expected, but I see a LOT more information on
the console than is being written to the file. How do I get everything that
is appearing on the console to be logged in the logfile?
Doc
-----BEGIN PGP SIGNATURE-----
Version: PGP 6.0.2 -- QDPGP 2.60
Comment: Key obtainable from servers: ID 0x362912B8
iQA/AwUBPr/PNGnXrLw2KRK4EQL4wQCg1OO0qQg2BV/jCSM5LbRePBECTk8An2KI
jCBapX0N3T03m0M29F0x5lyX
=+a0I
-----END PGP SIGNATURE-----
More information about the AGENTPP
mailing list