The Altair Community is migrating to a new platform to provide a better experience for you. In preparation for the migration, the Altair Community is on read-only mode from October 28 - November 6, 2024. Technical support via cases will continue to work as is. For any urgent requests from Students/Faculty members, please submit the form linked here
Possible to change log location ?
Is it possible to move the location where logs are stored under Ubuntu? Currently these are stored on my main partition (../standalone/log) but since this isn't really big I want them to be stored on another partition. The log files tend to take up quite some space (just removed almost 30GB of logs because my system started to complain) and I want to be a bit more flexible / safe with respect to disc usage.
Or, are there other ways to keep logs under control, like only keeping a few days rather than for eternity or limiting the amount of data written away?
Tagged:
0
Answers
Hi,
you can configure the logging system in the standalone.xml (found in the SERVER/standalone/configuration folder).
Look for:
You can change the location here:
Another alternative would be to create a symlink directory so that the standalone/log folder is replaced by the symlink, storing the logs on a different partition.
Regards,
Marco