I'm looking to customize the logging from Share. I've seen this question asked multiple times and what I've gathered is:
1) Share can't be customized in the same way as alfresco
2) There's mention of a Log4jHirerarchyInit ( ), but I don't see any examples of that.
Could someone point to an example of #2 or at least describe the rough outline of what needs to be done?
Regarding 1) you are correct - this is the default and Alfresco is unlikely to change that given this has already been long requested (MNT-14972) and Share is essentially EoL'ed and no significant investments will be made for that client.
What you read in that other thread (an answer from myself) is what would be technically required if you were to implement it yourself. Since then, I have actually done the very same thing I explained and implemented custom log4j.properties support in one of my Open Source modules (alfresco-utility). If you don't want to include the full module, you could of course take inspiration from its source and only extract parts of it that you need.
Edit: Pesky typos...
Ask for and offer help to other Alfresco Content Services Users and members of the Alfresco team.
Related links:
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.