Oracle by Example brandingManaging User-Specific HTML Server Log Settings from the Web Client

section 0Before You Begin

Purpose

This OBE shows you how to use the Manage HTML Logs application (P982101W) to manage the HTML Server log settings and log files for a logged-in user in JD Edwards EnterpriseOne.

Time to Complete

30 minutes.

Background

Starting with Release 25, development clients no longer run a WebServer locally. Instead, they connect to a centralized Development HTML Server managed through the Server Manager Console.

With the Manage HTML Logs application, developers can use the JD Edwards Web Client to view and update their HTML server logging settings; and view, download, and delete their HTML server log files.

Note: The Manage HTML Logs application is only accessible from HTML Servers that have the Web Development setting enabled. See Development HTML Server (9.2.9) in the JD Edwards EnterpriseOne Server Manager Guide for details.  The HTML Client can be accessed either through JD Edwards Solution Explorer from a windows development client or directly from a browser. The Manage HTML Logs link on the drop-down menu under the user name will only be available when accessing the HTML Client through JD Edwards Solution Explorer. However, the application is always accessible through the fast path.

Scenario

Your goal for this OBE is to enable logging on the HTML server. You will also generate logs, download logs, and change the log file configuration settings. Finally, you will delete the log files and disable logging on the HTML server.

Prerequisite

Before performing the activities in this OBE, you must ensure that:

  • You have a development client installed on Tools release 9.2.9 or later.
  • The latest Tools Rollup is applied.
  • Your administrator has granted you access to Manage HTML Logs Application.

Note: Only Administrators can grant access to User Specific Log Application. For details, see Granting Permissions to Access Manage HTML Logs Application.


section 1Enabling Logging on the HTML Server

In this task, you will enable logging on the HTML server for the currently signed in EnterpriseOne user. If a log file configuration entry exists for the signed-in EnterpriseOne user, delete it before continuing.

  1. Access JD Edwards Solutions Explorer on the windows development client.
  2. Click Tools and then click EnterpriseOne Menu.
    jd-edwards-solutions-explorer
    JD Edwards Solutions Explorer

    Observe that the default browser is launched and the user is automatically logged in to the JD Edwards HTML client. In the menu bar, click the user name to access the drop-down menu. You can see a new Manage HTML Logs option under Personalization.

    manage-html-logs-option
    Manage HTML Logs option
  3. Access the Manage HTML Logs application (P982101W) from the drop-down menu or the fast path.
  4. In Manage HTML Logs, under Log File Configuration, click Add.
    creating-log-file-configuration
    Creating Log File Configuration

    The log file configuration record is created with default values and a log file is also created.

    creating-log-file-configuration
    Creating Log File Configuration
  5. In the Log File Configuration record, navigate to the Log Size column and modify the value as 1MB.
  6. Click Save.
  7. updating-log-size
    Updating Log Size

section 2 Generating HTML Server Logging

In this task, you will observe that the log files for the HTML server have a maximum file size of 1MB.

  1. Access the Work With Addresses application (P01012) from the fast path on the HTML client in the browser.
  2. Select Display Phone and Display Address.
  3. In the Search Type field enter E (Employees).
  4. Click Find.
    work-with-addresses
    Work With Addresses Application
  5. Repeat steps 4 and 5 multiple times, selecting different data using the search fields and query by example (QBE).
  6. Access the Manage HTML Logs application (P982101W) and click Refresh.
    available-log-files
    Available Log Files

Observe that there are multiple log files in the list under Available Log Files and each log file has a maximum File Size of approximately 1MB.


section 3Downloading Log Files from the HTML Server

In this task, you will download log files from the HTML server.

  1. Access the Manage HTML Logs application (P982101W).
  2. Select the log file you want to download from the Available Log Files section. You can select more than one log file at a time.
  3. Click Download.
    downloading-log-files
    Downloading Log Files
  4. Depending on the browser and its settings, the file will either be saved to the default download location or you will be prompted to select the location in your system where you want to download the log files. The log files are downloaded as a compressed (zip) file.
  5. Navigate to the location of the compressed file. Extract the file to view the logs.

section 4 Changing Log File Configuration Settings

In this task, you will change the Log File Configuration settings, download the log files from the HTML server, and observe the differences.

  1. Access the Manage HTML Logs application (P982101W).
  2. Change the following Log File Configuration values:

    • Log Level Threshold to Low Level Troubleshooting
    • Log Format to Application Formats
    • De-select Append Log Files
    • Log Size to 10MB
    • Max Backup Index to 10
    changing-log-file-configuration
    Changing Log File Configuration
  3. Click Save.
  4. Access the Work With Addresses application (P01012) from the fast path on the HTML client in the browser.
  5. Select Display Phone and Display Address.
  6. In the Search Type field enter E (Employees).
  7. Click Find.
    work-with-addresses
    Work With Addresses Application
  8. Access the Manage HTML Logs application (P982101W) and click Refresh.
  9. Select the newest log file to download from the Logs section.
  10. Click Download.
    download-log-file
    Downloading Log File

    Depending on the browser and its settings, the file will either be saved to the default download location or you will be prompted to select the location in your system where you want to download the log file. The log file is downloaded as a compressed file.

  11. Navigate to the location of the compressed file. Extract the file to view the log.

    Observe that the format of the log messages is different than the logs downloaded in task 3.


section 5Changing Log File Configuration Log Components

In this task, you will change the Log File Configuration Log Components, download log files from the HTML server, and observe the differences.

  1. Access the Manage HTML Logs application (P982101W).
  2. From the Row Exit menu, select Log Components.
    download-log-file
    Log Components
  3. From the Log Components Form, make the following changes:

    • De-select ALL
    • Select BASE
    • Select JAS
    • Select RUNTIME
    • Select Show Selected
    log-components-form
    Log Components Form
  4. Click Close.
  5. On the Manage HTML Logs form, click Save.
  6. Access the Work With Addresses application (P01012) from the fast path on the HTML client in the browser.
  7. Select Display Phone and Display Address.
  8. In the Search Type field enter E (Employees).
  9. Click Find.
    work-with-addresses
    Work With Addresses Application
  10. Access Manage HTML Logs application (P982101W) and click Refresh.
  11. Select the newest log file to download from the Available Log Files section.
  12. Click Download.
    downloading-log-file
    Downloading Log File
  13. Depending on the browser and its settings, the file will either be saved to the default download location or you will be prompted to select the location in your system where you want to download the log file. The log file is downloaded as a compressed file.
  14. Navigate to the location of the compressed file. Extract it to view the log.

    Observe that the only messages logged are BASE, JAS, and RUNTIME messages.


section 6Deleting Log Files from the HTML Server

In this task, you will delete log files from the HTML server.

  1. Access the Manage HTML Logs application (P982101W).
  2. Select the log files you want to delete from the Logs section. You can select more than one log file at a time.
  3. Click Delete.
    deleting-log-file
    Deleting Log File

    Observe that the deleted log files are no longer appearing in the records.


section 7Disabling Logging on the HTML Server

In this task, you will disable the log file configuration for the current user on the HTML server.

  1. Access the Manage HTML Logs application (P982101W).
  2. Select the log file configuration from the list of records and click Delete.
    deleting-log-file-configuration
    Deleting Log File Configuration

    Observe that the log file configuration has been removed.

  3. Access the Work With Addresses application (P01012) on the HTML client in the browser.
  4. Select Display Phone and Display Address.
  5. In the Search Type field enter E (Employees).
  6. Click Find.
    work-with-addresses
    Work With Addresses Application
  7. Access the HTML Logs application (P982101W).
    html-logs-application
    HTML Logs Application

    Observe that there are no new log files or updates to log files in the list under Logs.


more informationWant to Learn More?