You are here: Pega 7 Platform Database > Database administration and performance > Viewing and modifying schema information manually > Logging for Pega Cloud schema operations

Logging for Pega Cloud schema operations

Operations performed using the Schema Tools landing page can be logged to a separate file from the PegaRules log file. To enable logging to a separate file, add the following appender to the prlogging.xml file.

<appender name="DBOPERATIONS" class="com.pega.pegarules.priv.util.FileAppenderPega">

<param name="FileNamePattern" value="'PegaDBOPERATIONS -'yyyy-MMM-dd'.log'"/>

<layout class="com.pega.apache.log4j.PatternLayout">

<param name="ConversionPattern" value="%d [%20.20t] [%10.10X{pegathread}] [%20.20X{app}] (%30.30c{3}) %-5p %X{stack} %X{userid} - %m%n"/>

</layout>

</appender>

 

<category name="SchemaDesignerLogger" additivity="false">

<priority value="info"/>

<appender-ref ref="DBOPERATIONS"/>

</category>

You can view the log file by clicking Designer Studio > System > Operations > Logs > Log Files > PegaDBOPERATIONS.