:orphan: # PetscInfoSetFromOptions Configure `PetscInfo()` using command line options, enabling or disabling various calls to `PetscInfo()` ## Synopsis ``` #include "petscsys.h" PetscErrorCode PetscInfoSetFromOptions(PetscOptions options) ``` Not Collective ## Input Parameter - ***options -*** Options database, use `NULL` for default global database ## Options Database Key - ***-info [filename][:[~][:[~]self]] -*** specify which informative messages are printed, See `PetscInfo()`. ## Note This function is called automatically during `PetscInitialize()` so users usually do not need to call it themselves. ## See Also [](sec_PetscInfo), `PetscInfo()`, `PetscInfoAllow()`, `PetscInfoSetFile()`, `PetscInfoSetClasses()`, `PetscInfoSetFilterCommSelf()`, `PetscInfoDestroy()` ## Level advanced ## Location src/sys/info/verboseinfo.c --- [Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/sys/info/verboseinfo.c) [Index of all Profiling routines](index.md) [Table of Contents for all manual pages](/manualpages/index.md) [Index of all manual pages](/manualpages/singleindex.md)