Magnolia and public instance logs

156 views
Skip to first unread message

Vishal K

unread,
Jul 29, 2020, 10:18:44 AM7/29/20
to Magnolia User Mailing List
Hi all,

It seems that  magnolia only logs the requests or activities on the author instance. The activities like login from public instance are not captured in the log file.

Any workaround or solution, guys,

Thanks in advance,
Vishal

Unger, Richard

unread,
Jul 30, 2020, 4:49:22 AM7/30/20
to user...@magnolia-cms.com

Hi,

 

Any kind of logging that works in Authoring can also be activated in public. It’s just a matter of adjusting your log4j configuration, or activating things like the audit logs.

https://documentation.magnolia-cms.com/display/DOCS62/Audit

 

Regards from Vienna,


Richard

 

 

Richard Unger

Land-, forst- und wasserwirtschaftliches Rechenzentrum GmbH

Telefon: +43 (650) 9463216

--
You received this message because you are subscribed to the Google Groups "Magnolia User Mailing List" group.
To unsubscribe from this group and stop receiving emails from it, send an email to user-list+...@magnolia-cms.com.
To view this discussion on the web, visit https://groups.google.com/a/magnolia-cms.com/d/msgid/user-list/f62e18bc-777e-4f0d-84f2-3729a514ee80n%40magnolia-cms.com.

Vishal K

unread,
Jul 30, 2020, 6:53:12 AM7/30/20
to Magnolia User Mailing List, Unger, Richard
Thank you for your quick response.

So, by default, all the logs from public instance, will not be captured in the author instance log files?

Unger, Richard

unread,
Aug 3, 2020, 5:16:20 AM8/3/20
to Vishal K, Magnolia User Mailing List

Hi Vishal,

 

That is correct, the public instances are their own thing. They could be installed in the same tomcat as the author instance, but usually they have their own servers.

In any case each instance (each public and author) have their own set of log-files. It’s all configured via log4j2, but even if you change the configuration the separate instances cannot log to the same files.

 

In any kind of larger deployment I would *strongly* recommend to include a solution like graylog or splunk (or stackdriver or equivalent if running in a cloud), which let you concentrate the logs from the different instances into one searchable database.

 

Regards from Vienna,


Richard

Vishal K

unread,
Aug 7, 2020, 5:22:47 AM8/7/20
to Magnolia User Mailing List, Unger, Richard
Thanks a lot, Richard.

Your answer really helped me well. I assume we can use AWS cloudwatch for monitoring logs from all instances as well?

Regards,
Reply all
Reply to author
Forward
0 new messages