IDOL Data Admin 12.12

# Configure the Log File Locations

By default, IDOL Data Admin creates log files under the home directory. You can configure IDOL Data Admin to store these log files in a different location by setting the `logging.path` property in the java run command.

To change the location of the log files

- At the command line, send the java run command with the `logging.path` argument set to the location where you want to store your log files. For example:

      java -Dlogging.path=[log file directory] -Didol.dataadmin.home=[home directory] -Dserver.port=[port] -jar dataadmin.jar

IDOL Data Admin creates the specified directory if it does not exist, as long as the service has the appropriate permissions. It creates the logs directly in the specified directory.

If you run IDOL Data Admin as a service on Windows, you can also add the `logging.path` property to the `dataadmin.xml` file.

If you run IDOL Data Admin as a service on Linux, you can modify the `IDA_LOGGING_DIR` variable in the start scripts (`dataadmin.sh` for SystemV, `dataadmin.conf` for Upstart, or `dataadmin.service` for systemd).

When you modify the IDOL Data Admin configuration by modifying the XML file or start scripts, you must restart IDOL Data Admin to apply your configuration changes.

On Upstart, you must also run `initctl reload-configuration` before you restart, to apply the init file changes. You can then run `service dataadmin restart` to restart the service.

© Copyright 2015-2022 Micro Focus or one of its affiliates
Version 12.12 | Last updated June 2022

Send documentation feedback

Close

Send documentation feedback

To send feedback using your default email client, open an email window.

Otherwise, send your feedback and the information below to swpdl.idoldocsfeedback@microfocus.com.

We appreciate your feedback!

Product: IDOL Data Admin 12.12

Topic Title: Configure the Log File Locations