Article ID: 918312 - Last Review: August 10, 2006 - Revision: 2.1 How to generate and read Commerce Server Staging (CSS) log filesOn This PageINTRODUCTIONThis article describes how to generate and read Commerce
Server Staging (CSS) log files on a computer that is running Microsoft Commerce
Server. MORE INFORMATIONImportant This article contains information about how to modify the
registry. Make sure to back up the registry before you modify it. Make sure
that you know how to restore the registry if a problem occurs. For more
information about how to back up, restore, and modify the registry, click the
following article number to view the article in the Microsoft Knowledge Base: 256986
(http://support.microsoft.com/kb/256986/
)
Description of the Microsoft Windows registry Generate CSS log filesWarning Serious problems might occur if you modify the registry incorrectly by using Registry Editor or by using another method. These problems might require that you reinstall your operating system. Microsoft cannot guarantee that these problems can be solved. Modify the registry at your own risk.If CSS generates an error, you may want to generate CSS log files to help fix the issue. To do this, use one of the following methods. Method 1Use the following three commands to add the FullLogging global setting in the Drive\Program Files\Microsoft Commerce Server 2007\Staging\Bin path:
Css
queryglobal Method 2You can use Registry Editor to manually add a registry entry. To add the FullLogging registry entry, follow these steps:
How to use log filesInformation about log filesLog files are written to the following location:\Program
Files\Microsoft Commerce Server 2007\Staging\Data\LOGFILES The following log files are created:
The Cssrv.log file contains the information that you must have to understand any problem that has occurred in a replication. The Cssrv.log file has a size limit of 8 MB (8,388,608 bytes). As soon as this size limit is reached, the file is copied to the Cssrv.old file. Remember that the Cssrv.old file will be overwritten only the next time that the limit is reached. Therefore, you receive a maximum 16 MB of log data by default. How to increase the size of the log fileWarning Serious problems might occur if you modify the registry incorrectly by using Registry Editor or by using another method. These problems might require that you reinstall your operating system. Microsoft cannot guarantee that these problems can be solved. Modify the registry at your own risk.If you cannot find the error in the log file or in the old log file, you must increase the amount of data that is logged. To do this, follow these steps:
How to read log filesAll log files have the same format. The log file has the following columns:
Net time
\\ComputerName /Set The following table lists the six types of possible log entries.
Collapse this table
The Thread Number column helps you understand where CSS sends the file. If multiple destinations are configured, you can find the destination by determining when a thread is created. This information explains which files are sent. The Text Message column describes the action that occurs. If an error occurs, you can discover what function was called and what line of source code was running. In some cases, you can also discover the return code. | Article Translations
|
Back to the top
