Excluding logs from onlinebackup

siddhartha252

28-06-2019

Dear Experts,

Instance version: AEM 6.3.3 with separated datastore (not shared just separated).

I am trying to see a way to eliminate backing up logs during online backup. Is there a way to do it? If there is one could you please point me in the right direction?

Kind regards

Sid

Accepted Solutions (1)

Accepted Solutions (1)

siddhartha252

09-07-2019

Yes, I understand. Once you modify the path from /logs/custom log to different location, try reloading the http://<HOST>:<PORT>/system/console/slinglog page. Page becomes inaccessible. Page will be accessible only when you revert back the changes.

Thanks

Sid

Answers (4)

Answers (4)

Jörg_Hoh

Employee

02-07-2019

Other ways to change the location of the logfiles (besides reconfiguring all loggers, as mentioned before):

* make crx-quickstart/logs a symlink and let it point to a directory of your convenience

* set the system property "sling.log.root" to a directory of your convenience (see [1])

Jörg

[1] https://sling.apache.org/documentation/development/logging.html#initial-configuration

jbrar

Employee

01-07-2019

By Default, AEM will backup everything under the crx-quickstart directory. You can achieve this by moving the log file location outside of crx-quickstart directory. Change the log location by going to slinglog under the "appender" section as shown below:

Screen Shot 2019-07-01 at 5.49.12 PM.png