SAP Knowledge Base Article - Public

3371638 - How to change the default log path in AO

Symptom

"Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental."

There is a need to change the AO default log path.

Environment

SAP Analysis for Microsoft Office 2.8

Resolution

1. Go to this place: `%PROGRAMDATA%\SAP\Cof`.

2. Open the `Log.config` file using a text editor.

3. Find the following line in `Log.config` file:
     <file type="log4net.Util.PatternString" value="${TEMP}\Sap\Cof\%property{Prefix}Trace_%processid.glf" />


   
4. Replace the `${TEMP}\Sap\Cof ` part of the line with the path you want to save the log. Note: `${TEMP}\Sap\Cof ` is the default path.

   For example, to save the log to the path `C:\Users\I\Documents`, the line should look like this after changing:

   <file type="log4net.Util.PatternString" value="C:\Users\I\Documents\%property{Prefix}Trace_%processid.glf" />

5. Save changes and replace the original `Log.config` file.

See Also

2129389 - Analysis 2.x log / Trace Files

Keywords

 AO, Analysis for Excel, Analysis for Office, A4O, AFO, Troubleshoot, Advanced Mode, Trouble shooting, trace, support mode, support trace , KBA , BI-RA-AO-XLA , Excel Addin , How To

Product

SAP Analysis for Microsoft Office 2.8