Excluding logs from onlinebackup

Avatar

Avatar

siddhartha252

Avatar

siddhartha252

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)

Avatar

Avatar

siddhartha252

Avatar

siddhartha252

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)

Avatar

Avatar

Jörg_Hoh

Employee

Total Posts

3.0K

Likes

916

Correct Answer

1.0K

Avatar

Jörg_Hoh

Employee

Total Posts

3.0K

Likes

916

Correct Answer

1.0K
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

Avatar

Avatar

jbrar

Employee

Avatar

jbrar

Employee

jbrar
Employee

04-07-2019

http://localhost:4502/system/console/slinglog .   This is not a support page. You need to replace the HOST and PORT from your instance. It should be read as below:

http://<HOST>:<PORT>/system/console/slinglog

Avatar

Avatar

jbrar

Employee

Avatar

jbrar

Employee

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

Avatar

Avatar

siddhartha252

Avatar

siddhartha252

siddhartha252

03-07-2019

But this way, we can no more access log support page. http://localhost:4502/system/console/slinglog

Thanks

Sid