Top
Systemwalker Software Configuration Manager Operation Guide
Systemwalker

4.1.1 Logs Output on the Admin Server

The types of log that are output on the admin server are shown in the tables below.

Audit logs

Log name

Description

Size

Number of generations

cfmg_audit_log

This log contains audit logs.

10 MB

10 generations (*1)

*1: If this number is exceeded, previous generations will be deleted, starting with the oldest.

Investigation logs

Log name

Description

Size

Number of generations

managerview_trace_log

This log contains trace logs for the management console.

10 MB

10 generations (*1)

cfmgbase_trace_log

This log contains trace logs for the manager itself.

cfmgdiscovery_trace_log

This log contains trace logs for the discovery function.

cfmgcommand_trace_log

This log contains trace logs for the following commands:

  • Status display command

  • Start command

  • Stop command

  • Email resend command

  • Backup command

  • Restore command

  • Problem investigation data collection command

cfmgcommand_discovery_trace_log

This log contains the following trace logs:

  • Information that is output when all information is collected using the patch information update command

cfmgcommand_discovery_wsus_trace_log

This log contains the following trace logs:

  • Information that is output when only WSUS information is collected using the patch information update command

cfmgcommand_discovery_yum_trace_log

This log contains the following trace logs:

  • Information that is output when only yum information is collected using the patch information update command

cfmgcommand_discovery_fjmw_trace_log

This log contains the following trace logs:

  • Information that is output when only Fujitsu middleware information is collected using the patch information update command

Event log (Windows)

This log contains information such as information about errors that occurs while patch application status information for deployed servers is being collected.

-

-

Syslog (Linux)

This log contains information such as information about errors that occurred while patch application status information for deployed servers was being collected.

-

-

*1: If this number is exceeded, previous generations will be deleted, starting with the oldest.

4.1.1.1 Log Output Destination

The output destination for logs is shown below.

[Windows]

Output folder

Output file

<Systemwalker Software Configuration Manager installation directory>\SWCFMGM\logs

Same as the log name.

[Linux]

Output folder

Output file

/var/opt/FJSVcfmgm/logs

Same as the log name.

4.1.1.2 Output Format for Audit Logs

The output format for audit logs is as shown below. It is possible to change the output destination for audit logs, the file size, and the number of generations held.

Output format for audit logs

Output format

<Operation date/time>,<User ID>,<Tenant name>,<Operation type>,<Parameters>,<Operation result>

Item

Description

Operation date/time

YYYY-MM-DD HH:MM:SS.sss (local time)

User ID

The user ID of the user that executed the operation

Tenant name

The tenant name of the user that executed the operation

Note: For operations performed by infrastructure administrators, "admin" is output.

Operation type

A string indicating the content of the operation

Parameters

The parameters specified by the request

Operation result

"SUCCESS" if the operation was successful and "FAILURE" if the operation failed

Operation type

Operation type

Description

/managerview/login.json

Login

/managerview/logout.json

Logout

/managerview/userInfo.json

Acquiring user information

/managerview/org/list.json

Acquiring a list of tenants

/managerview/ls/list.json

Acquiring a list of servers

/managerview/ls/map.json

Acquiring the map of unapplied patches

/managerview/ls/copy.json

Copying a list of servers

/managerview/ls.json

Acquiring server details

/managerview/info/list.json

Acquiring notifications

/managerview/windows.csv

Outputting Windows patch information to a CSV file

/managerview/patch/windows/list.json

Acquiring a list of Windows patches

/managerview/patch/windows/map.json

Acquiring the map of servers with unapplied Windows patches

/managerview/windows.json

Acquiring Windows patch details

/managerview/patch/copy.json

Copying a list of Windows patches

/managerview/patch/linux.csv

Outputting Linux patch information to a CSV file

/managerview/patch/linux/list.json

Acquiring a list of Linux patches

/managerview/patch/linux/map.json

Acquiring the map of servers with unapplied Linux patches

/managerview/patch/linux.json

Acquiring Linux patch details

/managerview/wsus.json

Refresh

/managerview/patchType/list.json

Acquiring a list of patch types

/managerview/patchSummary/list.json

Acquiring a summary of patches

/managerview/midPatch.csv

Outputting Fujitsu middleware patch information to CSV file

/managerview/midPatch/list.json

Acquiring a list of Fujitsu middleware patches

/managerview/midPatch/map.json

Acquiring the map of servers with unapplied Fujitsu middleware patches

/managerview/midPatch.json

Acquiring details on Fujitsu middleware patches

/managerview/baseLine/list.json

Acquiring a list of configuration baselines

/managerview/baseLine/patchComp.json

Comparing Windows patches

/managerview/baseLine/linux/patchComp.json

Comparing Linux patches

/managerview/baseLine/midPatchComp.json

Comparing Fujitsu middleware patches

/managerview/software/list.json

Acquiring a list of software programs

/managerview/software.json

Acquiring software details

/managerview/appliedPatch.csv

Outputting patch application information to a CSV file

/managerview/appliedPatch.do

Applying patches

Procedure for changing the audit log output destination

Use the following procedure to change the audit log output destination:

  1. Rewrite the configuration file.

    The following table shows the configuration file and the location to change:

    [Windows]

    Log name

    Configuration file

    Location to change (one location)

    cfmg_audit_log

    <Systemwalker Software Configuration Manager installation directory>\SWCFMGM\config\manager_base_log4j.xml

    The <param name="File" value="C:\ProgramData\Fujitsu\SystemwalkerCF\logs\cfmg_audit_log" /> element under the <appender name="cfmgaudit" class="org.apache.log4j.RollingFileAppender"> element

    [Linux]

    Log name

    Configuration file

    Location to change (one location)

    cfmg_audit_log

    /etc/opt/FJSVcfmgm/config/manager_base_log4j.xml

    The <param name="File" value="/var/opt/FJSVcfmgm/logs/cfmg_audit_log"/> element under the <appender name="cfmgaudit" class="org.apache.log4j.RollingFileAppender"> element

  2. Restart Systemwalker Software Configuration Manager.

Procedure for changing the size of the audit log file

Use the following procedure to change the size of the audit log file:

  1. Rewrite the configuration file.

    The location to change is shown below.

    [Windows]

    Log name

    Configuration file

    Location to change (one location)

    cfmg_audit_log

    <Systemwalker Software Configuration Manager Installation directory>\SWCFMGM\config\manager_base_log4j.xml

    Change the underlined part of the <param name="MaxFileSize" value="10MB" /> element under the <appender name="cfmgaudit" class="org.apache.log4j.RollingFileAppender"> element to a desired value.

    Example: value="100MB" (to change the size of the audit log file to 100 MB)

    [Linux]

    Log name

    Configuration file

    Location to change (one location)

    cfmg_audit_log

    /etc/opt/FJSVcfmgm/config/manager_base_log4j.xml

    Change the underlined part of the <param name="MaxFileSize" value="10MB" /> element under the <appender name="cfmgaudit"class="org.apache.log4j.RollingFileAppender"> element to a desired value.

    Example: value="100MB" (to change the size of the audit log file to 100 MB)

  2. Restart Systemwalker Software Configuration Manager.

Procedure for changing the number of audit log generations to be held

Use the following procedure to change the number of generations to be held for each audit log.

  1. Rewrite the configuration file.

    The location to change is shown below.

    [Windows]

    Log name

    Configuration file

    Location to change (one location)

    cfmg_audit_log

    <Systemwalker Software Configuration Manager Installation directory>\SWCFMGM\config\manager_base_log4j.xml

    Change the underlined part of the <param name="MaxBackupIndex" value="9" /> element under the <appender name="cfmgaudit" class="org.apache.log4j.RollingFileAppender"> element to a desired value.

    Example: value="100" (to change the number of generations to 100)

    [Linux]

    Log name

    Configuration file

    Location to change (one location)

    cfmg_audit_log

    /etc/opt/FJSVcfmgm/config/manager_base_log4j.xml

    Change the underlined part of the <param name="MaxBackupIndex" value="9" /> element under the <appender name="cfmgaudit"class="org.apache.log4j.RollingFileAppender"> element to a desired value.

    Example: value="100" (to change the number of generations to 100)

  2. Restart Systemwalker Software Configuration Manager.

4.1.1.3 Investigation Logs

The output format for investigation logs is as below. The output destination for investigation logs can be changed.

Output format for investigation logs

Output format

<Date/time> <Log level> <Message ID> <Message text>

Item

Description

Date/time

YYYY-MM-DD HH:MM:SS.sss (local time)

Log level

One of the following:

info

Information message

warn

Warning message

error

Error message

fatal

Fatal message

Message ID

The prefix and message number

  • The prefix for managerview_trace_log is "MGRV".

  • The prefix for cfmgbase_trace_log is "BASE".

  • The prefix for cfmgdiscovery_trace_log is "DISCOVERY".

Message text

Body text of the message

Procedure for changing the investigation log output destination

Use the following procedure to change the investigation log output destination:

  1. Rewrite the configuration files corresponding to each log.

    The following table shows the configuration files and the locations to change:

    [Windows]

    Log name

    Configuration file

    Location to change (one location)

    managerview_trace_log

    <Systemwalker Software Configuration Manager installation directory>\SWCFMGM\config\manager_base_log4j.xml

    The <param name="File" value="C:\ProgramData\Fujitsu\SystemwalkerCF\logs\managerview_trace_log" /> element under the <appender name="managerviewtrace" class="org.apache.log4j.RollingFileAppender"> element

    cfmgbase_trace_log

    The <param name="File" value="C:\ProgramData\Fujitsu\SystemwalkerCF\logs\cfmgbase_trace_log" /> element under the <appender name="cfmgbasetrace" class="org.apache.log4j.RollingFileAppender"> element

    cfmgdiscovery_trace_log

    The <param name="File" value="C:\ProgramData\Fujitsu\SystemwalkerCF\logs\cfmgdiscovery_trace_log" /> element under the <appender name="cfmgdiscoverytrace" class="org.apache.log4j.RollingFileAppender"> element

    cfmgcommand_discovery_trace_log

    <Systemwalker Software Configuration Manager installation directory>\SWCFMGM\config\manager_log4j.xml

    The <param name="File" value="C:\ProgramData\Fujitsu\SystemwalkerCF\logs\cfmgcommand_discovery_trace_log" /> element under the <appender name="cfmgbasetrace" class="org.apache.log4j.RollingFileAppender"> element

    cfmgcommand_trace_log

    The <param name="File" value="C:\ProgramData\Fujitsu\SystemwalkerCF\logs\cfmgcommand_trace_log" /> element under the <appender name="cfmgcommandtrace" class="org.apache.log4j.RollingFileAppender"> element

    cfmgcommand_base_trace_log

    The <param name="File" value="C:\ProgramData\Fujitsu\SystemwalkerCF\logs\cfmgcommand_base_trace_log" /> element under the <appender name="cfmgbasetrace" class="org.apache.log4j.RollingFileAppender"> element

    cfmgcommand_discovery_trace_log

    <Systemwalker Software Configuration Manager installation directory>\SWCFMGM\config\manager_discovery_log4j.xml

    The <param name="File" value="C:\ProgramData\Fujitsu\SystemwalkerCF\logs\cfmgcommand_discovery_trace_log" /> element under the <appender name="cfmgbasetrace"class="org.apache.log4j.RollingFileAppender"> element

    cfmgcommand_discovery_wsus_trace_log

    <Systemwalker Software Configuration Manager installation directory>\SWCFMGM\config\manager_discovery_wsus_log4j.xml

    The <param name="File" value="C:\ProgramData\Fujitsu\SystemwalkerCF\logs\cfmgcommand_discovery_wsus_trace_log" /> element under the <appender name="cfmgdiscoverytrace" class="org.apache.log4j.RollingFileAppender"> element

    cfmgcommand_discovery_yum_trace_log

    <Systemwalker Software Configuration Manager installation directory>\SWCFMGM\config\manager_discovery_yum_log4j.xml

    The <param name="File" value="C:\ProgramData\Fujitsu\SystemwalkerCF\logs\cfmgcommand_discovery_yum_trace_log" /> element under the <appender name="cfmgdiscoverytrace" class="org.apache.log4j.RollingFileAppender"> element

    cfmgcommand_discovery_fjmw_trace_log

    <Systemwalker Software Configuration Manager installation directory>\SWCFMGM\config\manager_discovery_fjmw_log4j.xml

    The <param name="File" value="C:\ProgramData\Fujitsu\SystemwalkerCF\logs\cfmgcommand_discovery_fjmw_trace_log" /> element under the <appender name="cfmgdiscoverytrace" class="org.apache.log4j.RollingFileAppender"> element

    [Linux]

    Log name

    Configuration file

    Location to change (one location)

    managerview_trace_log

    /etc/opt/FJSVcfmgm/config/manager _base_log4j.xml

    The <param name="File"value="/var/opt/FJSVcfmgm/logs/managerview_trace_log" /> element under the <appender name="managerviewtrace"class="org.apache.log4j.RollingFileAppender"> element

    cfmgbase_trace_log

    The <param name="File"value="/var/opt/FJSVcfmgm/logs/cfmgbase_trace_log" /> element under the <appender name="cfmgbasetrace"class="org.apache.log4j.RollingFileAppender"> element

    cfmgdiscovery_trace_log

    The <param name="File"value="/var/opt/FJSVcfmgm/logs/cfmgdiscovery_trace_log" /> element under the <appender name="cfmgdiscoverytrace"class="org.apache.log4j.RollingFileAppender"> element

    cfmgcommand_trace_log

    /etc/opt/FJSVcfmgm/config/manager_log4j.xml

    The <param name="File"value="/var/opt/FJSVcfmgm/logs/cfmgcommand_trace_log" /> element under the <appender name="cfmgcommandtrace"class="org.apache.log4j.RollingFileAppender"> element

    cfmgcommand_base_trace_log

    The <param name="File"value="/var/opt/FJSVcfmgm/logs/cfmgcommand_base_trace_log" /> element under the <appender name="cfmgbasetrace"class="org.apache.log4j.RollingFileAppender"> element

    cfmgcommand_discovery__trace_log

    /etc/opt/FJSVcfmgm/config/manager_discovery_log4j.xml

    The <param name="File"value="/var/opt/FJSVcfmgm/logs/cfmgcommand_discovery_trace_log" /> element under the <appender name="cfmgdiscoverytrace"class="org.apache.log4j.RollingFileAppender"> element

    cfmgcommand_discovery_wsus_trace_log

    /etc/opt/FJSVcfmgm/config/manager_discovery_wsus_log4j.xml

    The <param name="File"value="/var/opt/FJSVcfmgm/logs/cfmgcommand_discovery_wsus_trace_log" /> element under the <appender name="cfmgdiscoverytrace"class="org.apache.log4j.RollingFileAppender"> element

    cfmgcommand_discovery_yum_trace_log

    /etc/opt/FJSVcfmgm/config/manager_discovery_yum_log4j.xml

    The <param name="File"value="/var/opt/FJSVcfmgm/logs/cfmgcommand_discovery_yum_trace_log" /> element under the <appender name="cfmgdiscoverytrace"class="org.apache.log4j.RollingFileAppender"> element

    cfmgcommand_discovery_fjmw_trace_log

    /etc/opt/FJSVcfmgm/config/manager_discovery_fjmw_log4j.xml

    The <param name="File"value="/var/opt/FJSVcfmgm/logs/cfmgcommand_discovery_fjmw_trace_log" /> element under the <appender name="cfmgdiscoverytrace"class="org.apache.log4j.RollingFileAppender"> element

  2. Restart Systemwalker Software Configuration Manager.

4.1.1.4 Event Logs or syslogs

Output format for event logs [Windows]

Source

Description

Systemwalker Software Configuration Manager

Message ID and message content

Output format for syslogs [Linux]

Date/time

Host name

Package name

Description

Jun 11 01:01:01

Server

FJSVcfmgm

Message ID and message content