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, or dataadmin.conf
for Upstart).
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.
|