You can configure daily log rotation and save an archive of log files for audit and troubleshooting.

On this page:

JBoss log files

Enabling daily rotation of JBoss log files

  1. Log on to the Data Center Operation server with an SSH client.
    For example, use PuTTY. You can download it from here.
  2. Type the command

  3. Find all occurrences of

    and replace them with

  4. Find all occurrences of

    and replace them with

The server rolls the log files in /opt/jboss/server/isxo/log every day. You must now configure log archiving, otherwise the log files will continue to grow and take up too much space on the server.

Configuring archiving of JBoss log files

  1. On the Data Center Operation server, mount a folder in which to store the log files, for example /data/logarchive.
  2. Open the Webmin web interface.
    1. Type the address of your Data Center Operation server in a Web browser.
    2. On the Data Center Operation server's download page, click Server Configuration.
  3. Log on to Webmin using the user credentials created during the installation.
  4. In the left menu, select System>Scheduled Cron Jobs.
  5. Click Create a new scheduled cron job.
  6. In Job Details
    • Type to execute job as root.
    • Type the command:

    • Type a description.
      If you want to save the log archive to a different folder than /data/logarchive, change the path in the command.
  7. In When to execute, select Daily (at midnight).

Other log files

You can configure log rotation for other server log files in the Webmin web interface.

  1. Open the Webmin web interface.
    1. Type the address of your Data Center Operation server in a Web browser.
    2. On the Data Center Operation server's download page, click Server Configuration.
  2. Log on to Webmin using the user credentials created during the installation.
  3. In the left menu, select System>Log File Rotation.
  4. Select the log files you want to rotate.
  5. Click a log file line to open the Edit Log File page and change the default settings according to your wishes, such as location of the files or rotation interval.

Client log files

In StruxureWare Data Center Operation, select Help>Download Log Files and save the server and client log files to a location of your choice.

The client log file is rolled in this location when the .log file exceeds 1 MB. The latest 10 files will be stored.

See also

Managing Server Settings

Skip to end of metadata
Go to start of metadata
RELATED COMMUNITY QUESTIONS
WAS THIS ARTICLE HELPFUL?