Due to recent updates, all users are required to create an Altair One account to login to the RapidMiner community. Click the Register button to create your account using the same email that you have previously used to login to the RapidMiner community. This will ensure that any previously created content will be synced to your Altair One account. Once you login, you will be asked to provide a username that identifies you to other Community users. Email us at Community with questions.

Possible to change log location ?

kaymankayman Member Posts: 662 Unicorn
edited December 2018 in Help

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:

Answers

  • Marco_BoeckMarco_Boeck Administrator, Moderator, Employee, Member, University Professor Posts: 1,996 RM Engineering

    Hi,

     

    you can configure the logging system in the standalone.xml (found in the SERVER/standalone/configuration folder).

    Look for:

    <subsystem xmlns="urn:jboss:domain:logging:1.5">

    You can change the location here:

    <file relative-to="jboss.server.log.dir" path="server.log"/>

    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

Sign In or Register to comment.