6 How to Use Operation Logs
6-3-6
Checking the Debug Log
Refer to 6-6 Checking the Operation Logs for how to check the Debug Log.
6-3-7
Debug Log File Specifications
This section describes the specifications of Debug Log files.
Each Debug Log file is composed of multiple records.
The maximum size of each Debug Log file is set in Sysmac Studio.
The size of each record is 58 KB max.
The following table shows the file name and type.
DB_DebugLog.log
DB_DebugLog_[year_month_date_hours_minutes_seconds_milliseconds].log*
Example:
DB_DebugLog_20120724220915040.log
DB_DebugLog.fjc
* The system time of the CPU Unit is used for the time information included in the file name.
The files are stored in the following directory (of the SD Memory Card).
- Log files:
/packages/DB_Connection/DebugLog/
- Log control file:
/packages/DB_Connection/System/
The record format is shown below.
Each record is expressed in one line and composed of multiple parameters. The parameters are
separated from each other by a tab.
[Serial number]<tab>[Date]<tab>[Time]<tab>[Millisecond]<tab>[Category]<tab>[Log code]<tab>[Log name]<tab>
[Result]<tab>[DB Connection name]<tab>[Serial ID]<tab>[Details]<CR><LF>
Parameter
Serial number
Date
Time
Millisecond
Category
Log code
Log name
6-14
File name
Size
1 to 5 bytes
0 to 65535
When exceeding 65535, this value returns to 0.
The serial number is given across multiple files. (Even if a new file is
created, the serial number is not reset to 0.)
10 bytes (Fixed)
Displays year, month, and date when the log was recorded.
YYYY-MM-DD
Example: 2012-07-23
8 bytes (Fixed)
Displays hours, minutes, and seconds when the log was recorded.
hh:mm:ss
Example: 15:33:45
3 bytes (Fixed)
Displays 3-digit decimal integer (000 to 999) that shows millisecond of
the time when the log was recorded.
Example: 10 ms: 010
623 ms: 623
16 bytes max.
Displays the category.
(Variable)
4 bytes (Fixed)
Displays a 4-digit decimal code that is a unique identification code in
the category.
32 bytes max.
Displays a name that shows the contents of the log.
(Variable)
Description
*2
*3
NJ/NX-series Database Connection CPU Units User's Manual (W527)
File type
Latest log file of the log
Previous log files
Log control file
*1
*1
*4
*1