[cig-commits] commit: Make the code not output as much by default
Mercurial
hg at geodynamics.org
Wed Feb 24 16:27:15 PST 2010
changeset: 775:baf7984a7f57
tag: tip
user: Walter Landry <wlandry at caltech.edu>
date: Wed Feb 24 16:25:47 2010 -0800
files: Base/Context/src/Init.c Base/IO/src/Init.c Base/IO/src/Journal.c Base/IO/src/Stream.c
description:
Make the code not output as much by default
diff -r 69f4dc15d8a6 -r baf7984a7f57 Base/Context/src/Init.c
--- a/Base/Context/src/Init.c Thu Feb 04 15:13:37 2010 -0800
+++ b/Base/Context/src/Init.c Wed Feb 24 16:25:47 2010 -0800
@@ -65,7 +65,7 @@ Bool BaseContext_Init( int* argc, char**
VariableCondition_Register_Add( variableCondition_Register, VariableAllVC_Type, VariableAllVC_Factory );
typedStream = VariableDumpStream_New( VariableDumpStream_Type );
- Stream_Enable( typedStream, True );
+ Stream_Enable( typedStream, False );
Stream_SetLevel( typedStream, 1 );
Stream_SetFile( typedStream, stJournal->stdOut );
diff -r 69f4dc15d8a6 -r baf7984a7f57 Base/IO/src/Init.c
--- a/Base/IO/src/Init.c Thu Feb 04 15:13:37 2010 -0800
+++ b/Base/IO/src/Init.c Wed Feb 24 16:25:47 2010 -0800
@@ -90,7 +90,7 @@ Bool BaseIO_Init( int* argc, char** argv
/* The LiveDebug stream */
LiveDebug = Journal_Register( Info_Type, LiveDebugName );
- Stream_Enable( LiveDebug, True );
+ Stream_Enable( LiveDebug, False );
Stream_SetLevel( LiveDebug, 1 );
/* General streams. */
diff -r 69f4dc15d8a6 -r baf7984a7f57 Base/IO/src/Journal.c
--- a/Base/IO/src/Journal.c Thu Feb 04 15:13:37 2010 -0800
+++ b/Base/IO/src/Journal.c Wed Feb 24 16:25:47 2010 -0800
@@ -404,7 +404,7 @@ Stream* Journal_GetTypedStream( const Ty
{
/* Make a default stream for this name. */
typedStream = CStream_New( type );
- Stream_Enable( typedStream, True );
+ Stream_Enable( typedStream, False );
Stream_SetLevel( typedStream, 1 );
Stream_SetFile( typedStream, stJournal->stdOut );
@@ -713,7 +713,7 @@ void Journal_SetupDefaultTypedStreams()
/* info */
typedStream = CStream_New( Info_Type );
- Stream_Enable( typedStream, True );
+ Stream_Enable( typedStream, False );
Stream_SetLevel( typedStream, 1 );
Stream_SetFile( typedStream, stJournal->stdOut );
Stream_SetAutoFlush( typedStream, True );
@@ -750,14 +750,14 @@ void Journal_SetupDefaultTypedStreams()
/* mpi stream */
typedStream = MPIStream_New( MPIStream_Type );
- Stream_Enable( typedStream, True );
+ Stream_Enable( typedStream, False );
Stream_SetLevel( typedStream, 1 );
Journal_RegisterTypedStream( typedStream );
/* MPI Streams need to print from all ranks */
/* binary stream */
typedStream = BinaryStream_New( BinaryStream_Type );
- Stream_Enable( typedStream, True );
+ Stream_Enable( typedStream, False );
Stream_SetLevel( typedStream, 1 );
Journal_RegisterTypedStream( typedStream );
}
diff -r 69f4dc15d8a6 -r baf7984a7f57 Base/IO/src/Stream.c
--- a/Base/IO/src/Stream.c Thu Feb 04 15:13:37 2010 -0800
+++ b/Base/IO/src/Stream.c Wed Feb 24 16:25:47 2010 -0800
@@ -88,7 +88,7 @@ void _Stream_Init(
self->_dump = _dump;
self->_setFile = _setFile;
- self->_enable = True;
+ self->_enable = False;
self->_level = 1;
self->_file = NULL;
self->_printingRank = STREAM_ALL_RANKS;
More information about the CIG-COMMITS
mailing list