:orphan: # PetscLogActions Determines whether actions are logged for the graphical viewer. ## Synopsis ``` #include "petscsys.h" PetscErrorCode PetscLogActions(PetscBool flag) ``` Not Collective ## Input Parameter - ***flag -*** `PETSC_TRUE` if actions are to be logged ## Options Database Key - ***-log_exclude_actions -*** Turns off actions logging ## Note Logging of actions continues to consume more memory as the program runs. Long running programs should consider turning this feature off. ## See Also [](ch_profiling), `PetscLogStagePush()`, `PetscLogStagePop()` ## Level intermediate ## Location src/sys/logging/plog.c --- [Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/sys/logging/plog.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)