-1

Is there a specific onfiguration for logger to print log.info() message ? I have action classes extended quatz class as shown below . but the log is not printing out in log file - alfresco.log . I can see system.out.println in tomcat log .

please let me know if there are any configuration changes reuired in log4j.properties ? I have kept all the config default didnt make any changes in log4j

following is screen shot of java class

  • found your cross post in [Alfresco Hub](https://hub.alfresco.com/t5/alfresco-content-services-forum/logger-configuration/m-p/296538#M17956). Please don't cross post and if you do reference the other post to let others know ... – Heiko Robert Feb 21 '20 at 11:14

1 Answers1

0
  • first, please follow the rules how to ask in SO - otherwise your questions may be closed unresponded. Make sure you spent a minimum in research and learning from available how to's and explain what you found and tried so far. Don't expect busy people do your job ...

  • Alfresco's documentation is well indexed by Goolge: log4j.properties file

  • You need to overwriter the root loogging config log4j.rootLogger=error by enable the required log level for your package / class by log4j.com.mycompany.mypackage.myclass=info

Heiko Robert
  • 2,488
  • 11
  • 12