# PetscLogInfoAllow

Causes PetscLogInfo() messages to be printed to standard output.

### Synopsis

    #include "petsc.h"
    int PetscLogInfoAllow(PetscTruth flag, char *filename)

Not Collective, each processor may call this seperately, but printing is only turned on if the lowest processor number associated with the PetscObject associated with the call to PetscLogInfo() has called this routine.

### Input Parameter

| flag | - PETSC_TRUE or PETSC_FALSE
| filename | - optional name of file to write output to (defaults to stdout)

### Options Database Key

-log_info [optional filename] -Activates PetscLogInfoAllow()

### See Also

PetscLogInfo()

Level:advanced
Location: src/sys/src/plog/ploginfo.c
Index of all Profiling routines
Table of Contents for all manual pages
Index of all manual pages